mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-13 09:59:25 +02:00
pas2js: fixed array push records/sets
This commit is contained in:
parent
e45b31ced5
commit
e1312deafe
2
utils/pas2js/dist/rtl.js
vendored
2
utils/pas2js/dist/rtl.js
vendored
@ -1052,7 +1052,7 @@ var rtl = {
|
||||
} else if (a['$pas2jsrefcnt']){
|
||||
a=rtl.arrayCopy(type,a,0,a.length);
|
||||
}
|
||||
rtl.arrayClone(type,arguments,2,arguments.length-1,a,a.length);
|
||||
rtl.arrayClone(type,arguments,2,arguments.length,a,a.length);
|
||||
return a;
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user