Fix sugar.dump: It doesn't work correctly with compile time expression (#14580)
This commit is contained in:
parent
0d814f2d44
commit
733bd76f6b
1 changed files with 1 additions and 1 deletions
|
|
@ -150,7 +150,7 @@ macro `->`*(p, b: untyped): untyped =
|
||||||
|
|
||||||
result = createProcType(p, b)
|
result = createProcType(p, b)
|
||||||
|
|
||||||
macro dump*(x: typed): untyped =
|
macro dump*(x: untyped): untyped =
|
||||||
## Dumps the content of an expression, useful for debugging.
|
## Dumps the content of an expression, useful for debugging.
|
||||||
## It accepts any expression and prints a textual representation
|
## It accepts any expression and prints a textual representation
|
||||||
## of the tree representing the expression - as it would appear in
|
## of the tree representing the expression - as it would appear in
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue