From a9e5f5d7e226302135c6b68af274190058993759 Mon Sep 17 00:00:00 2001 From: Andrea Ferretti Date: Sun, 25 Sep 2016 15:53:32 +0200 Subject: [PATCH] Removed use of stmt --- lib/core/macros.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/macros.nim b/lib/core/macros.nim index af346e2b3b..1a26d55222 100644 --- a/lib/core/macros.nim +++ b/lib/core/macros.nim @@ -890,7 +890,7 @@ proc boolVal*(n: NimNode): bool {.compileTime, noSideEffect.} = if n.kind == nnkIntLit: n.intVal != 0 else: n == bindSym"true" # hacky solution for now -macro expandMacros*(body: stmt): untyped = +macro expandMacros*(body: typed): untyped = ## Expands one level of macro - useful for debugging. ## Can be used to inspect what happens when a macro call is expanded, ## without altering its result.