Sets need copying in JS (#11392)
* Sets need copying in JS * Fixes #11353 * Add test for #11353
This commit is contained in:
parent
ad13e18c7c
commit
ba43156363
2 changed files with 15 additions and 1 deletions
|
|
@ -975,7 +975,7 @@ proc countJsParams(typ: PType): int =
|
|||
|
||||
const
|
||||
nodeKindsNeedNoCopy = {nkCharLit..nkInt64Lit, nkStrLit..nkTripleStrLit,
|
||||
nkFloatLit..nkFloat64Lit, nkCurly, nkPar, nkStringToCString,
|
||||
nkFloatLit..nkFloat64Lit, nkPar, nkStringToCString,
|
||||
nkObjConstr, nkTupleConstr, nkBracket,
|
||||
nkCStringToString, nkCall, nkPrefix, nkPostfix, nkInfix,
|
||||
nkCommand, nkHiddenCallConv, nkCallStrLit}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue