Fixes a critical JS codegen bug about @ in call pattern
This commit is contained in:
parent
e2267ef5c9
commit
ba273057e3
1 changed files with 1 additions and 0 deletions
|
|
@ -1215,6 +1215,7 @@ proc genOtherArg(p: PProc; n: PNode; i: int; typ: PType;
|
||||||
genArgNoParam(p, it, r)
|
genArgNoParam(p, it, r)
|
||||||
else:
|
else:
|
||||||
genArg(p, it, paramType.sym, r)
|
genArg(p, it, paramType.sym, r)
|
||||||
|
inc generated
|
||||||
|
|
||||||
proc genPatternCall(p: PProc; n: PNode; pat: string; typ: PType;
|
proc genPatternCall(p: PProc; n: PNode; pat: string; typ: PType;
|
||||||
r: var TCompRes) =
|
r: var TCompRes) =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue