Fix sugar.dump: It doesn't work correctly with compile time expression (#14580)

This commit is contained in:
Tomohiro
2020-06-08 17:28:42 +09:00
committed by GitHub
parent 0d814f2d44
commit 733bd76f6b

View File

@@ -150,7 +150,7 @@ macro `->`*(p, b: untyped): untyped =
result = createProcType(p, b)
macro dump*(x: typed): untyped =
macro dump*(x: untyped): untyped =
## Dumps the content of an expression, useful for debugging.
## It accepts any expression and prints a textual representation
## of the tree representing the expression - as it would appear in