diff options
Diffstat (limited to 'compiler/semstmts.nim')
-rw-r--r-- | compiler/semstmts.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/semstmts.nim b/compiler/semstmts.nim index 09631c793..d42eb5433 100644 --- a/compiler/semstmts.nim +++ b/compiler/semstmts.nim @@ -1609,7 +1609,7 @@ proc semStmtList(c: PContext, n: PNode, flags: TExprFlags): PNode = n.typ = n.sons[i].typ return else: - var expr = semExpr(c, n.sons[i]) + var expr = semExpr(c, n.sons[i], flags) n.sons[i] = expr if c.inTypeClass > 0 and expr.typ != nil: case expr.typ.kind |