This commit is contained in:
parent
94b0d6bb63
commit
bd90199a2f
9 changed files with 26 additions and 22 deletions
|
|
@ -990,7 +990,7 @@ proc buildEchoStmt(c: PContext, n: PNode): PNode =
|
|||
result = semExpr(c, result)
|
||||
|
||||
proc semExprNoType(c: PContext, n: PNode): PNode =
|
||||
let isPush = hintExtendedContext in c.config.notes
|
||||
let isPush = c.config.hasHint(hintExtendedContext)
|
||||
if isPush: pushInfoContext(c.config, n.info)
|
||||
result = semExpr(c, n, {efWantStmt})
|
||||
discardCheck(c, result, {})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue