attempt to make tests green again
This commit is contained in:
parent
f2222316bd
commit
ec0f982ed4
5 changed files with 40 additions and 21 deletions
|
|
@ -125,7 +125,7 @@ proc semMacroExpr(c: PContext, n: PNode, sym: PSym,
|
|||
semCheck: bool = true): PNode =
|
||||
markUsed(n, sym)
|
||||
if c.evalContext == nil:
|
||||
c.evalContext = newEvalContext(c.module, "", false)
|
||||
c.evalContext = newEvalContext(c.module, "", emStatic)
|
||||
result = evalMacroCall(c.evalContext, n, sym)
|
||||
if semCheck: result = semAfterMacroCall(c, result, sym)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue