mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-29 01:14:41 +00:00
fixes a critical JS codegen bug which caused 'importcpp' statements not to be emitted
This commit is contained in:
@@ -1223,6 +1223,7 @@ proc genPatternCall(p: PProc; n: PNode; pat: string; typ: PType;
|
||||
r: var TCompRes) =
|
||||
var i = 0
|
||||
var j = 1
|
||||
r.kind = resExpr
|
||||
while i < pat.len:
|
||||
case pat[i]
|
||||
of '@':
|
||||
|
||||
Reference in New Issue
Block a user