diff --git a/compiler/ccgexprs.nim b/compiler/ccgexprs.nim index 0f034c4a58..9d39171659 100644 --- a/compiler/ccgexprs.nim +++ b/compiler/ccgexprs.nim @@ -2852,6 +2852,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 6bc6ca2d70..20bf25d934 100644 --- a/compiler/cgen.nim +++ b/compiler/cgen.nim @@ -855,7 +855,8 @@ proc containsResult(n: PNode): bool = for i in 0..