diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2016-07-08 23:03:11 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2016-07-08 23:03:11 +0200 |
commit | ba273057e31775dfacbd64719641cec7f3b95891 (patch) | |
tree | 25b027f4fe934de91d313356bbefca7bef69df48 /compiler | |
parent | e2267ef5c95e400e20ac48bea9c662241bc01f18 (diff) | |
download | Nim-ba273057e31775dfacbd64719641cec7f3b95891.tar.gz |
Fixes a critical JS codegen bug about @ in call pattern
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/jsgen.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/jsgen.nim b/compiler/jsgen.nim index 0b62b8480..09eafe128 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) = |