This commit is contained in:
Araq 2016-12-18 20:21:50 +01:00
commit 91935fd915
5 changed files with 47 additions and 1 deletions

View file

@ -369,6 +369,7 @@ proc semMacroExpr(c: PContext, n, nOrig: PNode, sym: PSym,
result = evalMacroCall(c.module, c.cache, n, nOrig, sym)
if efNoSemCheck notin flags:
result = semAfterMacroCall(c, result, sym, flags)
result = wrapInComesFrom(nOrig.info, result)
popInfoContext()
proc forceBool(c: PContext, n: PNode): PNode =