diff options
author | Tomohiro <gpuppur@gmail.com> | 2020-06-08 17:28:42 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-08 10:28:42 +0200 |
commit | 733bd76f6bc8253f255df4cec26099502090264b (patch) | |
tree | 8fe14ba9424129f3a4e16e625180d6411c98cc16 /lib | |
parent | 0d814f2d4464b6426df8f65d845299b969a86d71 (diff) | |
download | Nim-733bd76f6bc8253f255df4cec26099502090264b.tar.gz |
Fix sugar.dump: It doesn't work correctly with compile time expression (#14580)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pure/sugar.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/sugar.nim b/lib/pure/sugar.nim index dbc60b8a9..d2bdb0fdc 100644 --- a/lib/pure/sugar.nim +++ b/lib/pure/sugar.nim @@ -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 |