[WASM] Sync stdlib-gen template with actual source code
This commit is contained in:
committed by
Space
parent
47ee0e5b0a
commit
0d46d0d69b
@@ -1654,7 +1654,8 @@ object ArrayOps : TemplateGroupBase() {
|
||||
on(Backend.Wasm) {
|
||||
body {
|
||||
"""
|
||||
for (index in fromIndex..toIndex) {
|
||||
AbstractList.checkRangeIndexes(fromIndex, toIndex, size)
|
||||
for (index in fromIndex until toIndex) {
|
||||
this[index] = element
|
||||
}
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user