[WASM] Add std methods for collections
This commit is contained in:
committed by
igoriakovlev
parent
c9a92d71ae
commit
e58d4163ad
@@ -1174,9 +1174,6 @@ object ArrayOps : TemplateGroupBase() {
|
||||
}
|
||||
on(Platform.Native) {
|
||||
body { "return this.copyOfNulls(newSize)" }
|
||||
on(Backend.Wasm) {
|
||||
body { """TODO("Wasm stdlib: $signature")""" }
|
||||
}
|
||||
}
|
||||
}
|
||||
specialFor(ArraysOfPrimitives, InvariantArraysOfObjects) {
|
||||
@@ -1259,9 +1256,6 @@ object ArrayOps : TemplateGroupBase() {
|
||||
}
|
||||
on(Platform.Native) {
|
||||
body { """if (size > 1) sortArray(this, 0, size)""" }
|
||||
on(Backend.Wasm) {
|
||||
body { """TODO("Wasm stdlib: $signature")""" }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1396,9 +1390,6 @@ object ArrayOps : TemplateGroupBase() {
|
||||
sortArray(this, fromIndex, toIndex)
|
||||
"""
|
||||
}
|
||||
on(Backend.Wasm) {
|
||||
body { """TODO("Wasm stdlib: $signature")""" }
|
||||
}
|
||||
}
|
||||
on(Platform.JS) {
|
||||
since("1.4")
|
||||
@@ -1455,9 +1446,6 @@ object ArrayOps : TemplateGroupBase() {
|
||||
sortArrayWith(this, fromIndex, toIndex, comparator)
|
||||
"""
|
||||
}
|
||||
on(Backend.Wasm) {
|
||||
body { """TODO("Wasm stdlib: $signature")""" }
|
||||
}
|
||||
}
|
||||
on(Platform.JS) {
|
||||
since("1.4")
|
||||
|
||||
Reference in New Issue
Block a user