diff --git a/compiler/ccgexprs.nim b/compiler/ccgexprs.nim index e30397107441..2a8af5c41879 100644 --- a/compiler/ccgexprs.nim +++ b/compiler/ccgexprs.nim @@ -2909,6 +2909,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 f87082866218..5de23649f1e7 100644 --- a/compiler/cgen.nim +++ b/compiler/cgen.nim @@ -860,7 +860,8 @@ proc containsResult(n: PNode): bool = for i in 0..