Fixes a critical JS codegen bug about @ in call pattern

This commit is contained in:
Andreas Rumpf
2016-07-08 23:03:11 +02:00
parent e2267ef5c9
commit ba273057e3

View File

@@ -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) =