From ba273057e31775dfacbd64719641cec7f3b95891 Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Fri, 8 Jul 2016 23:03:11 +0200 Subject: [PATCH] Fixes a critical JS codegen bug about @ in call pattern --- compiler/jsgen.nim | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/jsgen.nim b/compiler/jsgen.nim index 0b62b84807..09eafe1285 100644 --- a/compiler/jsgen.nim +++ b/compiler/jsgen.nim @@ -1215,6 +1215,7 @@ proc genOtherArg(p: PProc; n: PNode; i: int; typ: PType; genArgNoParam(p, it, r) else: genArg(p, it, paramType.sym, r) + inc generated proc genPatternCall(p: PProc; n: PNode; pat: string; typ: PType; r: var TCompRes) =