mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-05 04:27:44 +00:00
Fix sugar.dump: It doesn't work correctly with compile time expression (#14580)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user