make tests green properly
This commit is contained in:
parent
61d9292095
commit
26133a33a4
1 changed files with 2 additions and 2 deletions
|
|
@ -1771,9 +1771,9 @@ proc semStaticStmt(c: PContext, n: PNode): PNode =
|
||||||
inc c.inStaticContext
|
inc c.inStaticContext
|
||||||
let a = semStmt(c, n.sons[0])
|
let a = semStmt(c, n.sons[0])
|
||||||
dec c.inStaticContext
|
dec c.inStaticContext
|
||||||
when false:
|
|
||||||
n.sons[0] = a
|
n.sons[0] = a
|
||||||
evalStaticStmt(c.module, c.graph, a, c.p.owner)
|
evalStaticStmt(c.module, c.graph, a, c.p.owner)
|
||||||
|
when false:
|
||||||
# for incremental replays, keep the AST as required for replays:
|
# for incremental replays, keep the AST as required for replays:
|
||||||
result = n
|
result = n
|
||||||
else:
|
else:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue