Removed use of stmt
This commit is contained in:
parent
235fc29834
commit
a9e5f5d7e2
1 changed files with 1 additions and 1 deletions
|
|
@ -890,7 +890,7 @@ proc boolVal*(n: NimNode): bool {.compileTime, noSideEffect.} =
|
||||||
if n.kind == nnkIntLit: n.intVal != 0
|
if n.kind == nnkIntLit: n.intVal != 0
|
||||||
else: n == bindSym"true" # hacky solution for now
|
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.
|
## Expands one level of macro - useful for debugging.
|
||||||
## Can be used to inspect what happens when a macro call is expanded,
|
## Can be used to inspect what happens when a macro call is expanded,
|
||||||
## without altering its result.
|
## without altering its result.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue