summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndrea Ferretti <ferrettiandrea@gmail.com>2016-09-25 15:53:32 +0200
committerAndrea Ferretti <ferrettiandrea@gmail.com>2016-09-25 15:53:32 +0200
commita9e5f5d7e226302135c6b68af274190058993759 (patch)
treef59418add7041eaf5994631bad052e8075429998
parent235fc29834bf820e720bbbfdd3fb5f0c684d53ec (diff)
downloadNim-a9e5f5d7e226302135c6b68af274190058993759.tar.gz
Removed use of stmt
-rw-r--r--lib/core/macros.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/core/macros.nim b/lib/core/macros.nim
index af346e2b3..1a26d5522 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.