diff --git a/compiler/ccgexprs.nim b/compiler/ccgexprs.nim index 53f60cb09b..7380aa9855 100644 --- a/compiler/ccgexprs.nim +++ b/compiler/ccgexprs.nim @@ -2744,6 +2744,7 @@ proc expr(p: BProc, n: PNode, d: var TLoc) = inc p.splitDecls genGotoState(p, n) of nkBreakState: genBreakState(p, n, d) + of nkMixinStmt, nkBindStmt: discard else: internalError(p.config, n.info, "expr(" & $n.kind & "); unknown node kind") proc genNamedConstExpr(p: BProc, n: PNode; isConst: bool): Rope = diff --git a/compiler/cgen.nim b/compiler/cgen.nim index e046d1298e..4d9b662ed9 100644 --- a/compiler/cgen.nim +++ b/compiler/cgen.nim @@ -838,7 +838,8 @@ proc containsResult(n: PNode): bool = for i in 0..