fixes #5419
This commit is contained in:
parent
92c2a51bf7
commit
22789a0bfc
4 changed files with 35 additions and 1 deletions
|
|
@ -742,6 +742,8 @@ proc `$`*(node: NimNode): string {.compileTime.} =
|
|||
result = $node.symbol
|
||||
of nnkOpenSymChoice, nnkClosedSymChoice:
|
||||
result = $node[0]
|
||||
of nnkAccQuoted:
|
||||
result = $node[0]
|
||||
else:
|
||||
badNodeKind node.kind, "$"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue