From 733bd76f6bc8253f255df4cec26099502090264b Mon Sep 17 00:00:00 2001 From: Tomohiro Date: Mon, 8 Jun 2020 17:28:42 +0900 Subject: [PATCH] Fix sugar.dump: It doesn't work correctly with compile time expression (#14580) --- lib/pure/sugar.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pure/sugar.nim b/lib/pure/sugar.nim index dbc60b8a9c..d2bdb0fdca 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