diff --git a/compiler/jsgen.nim b/compiler/jsgen.nim index b30d035793..39009bd2f0 100644 --- a/compiler/jsgen.nim +++ b/compiler/jsgen.nim @@ -320,6 +320,10 @@ proc isSimpleExpr(p: PProc; n: PNode): bool = for c in n: if not p.isSimpleExpr(c): return false result = true + elif n.kind == nkStmtListExpr: + for i in 0..