mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-30 11:13:57 +00:00
@@ -1360,7 +1360,9 @@ proc `$`*(node: NimNode): string =
|
||||
of nnkOpenSymChoice, nnkClosedSymChoice:
|
||||
result = $node[0]
|
||||
of nnkAccQuoted:
|
||||
result = $node[0]
|
||||
result = ""
|
||||
for i in 0 ..< node.len:
|
||||
result.add(repr(node[i]))
|
||||
else:
|
||||
badNodeKind node, "$"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user