Do not expose internal copyOfUninitializedElements and copyOfNulls
This commit is contained in:
@@ -775,7 +775,6 @@ object ArrayOps : TemplateGroupBase() {
|
||||
}
|
||||
}
|
||||
on(Platform.Native) {
|
||||
inlineOnly()
|
||||
body {
|
||||
"""
|
||||
checkCopyOfRangeArguments(fromIndex, toIndex, size)
|
||||
@@ -792,7 +791,6 @@ object ArrayOps : TemplateGroupBase() {
|
||||
platforms(Platform.Native)
|
||||
} builder {
|
||||
visibility("internal")
|
||||
annotation("@PublishedApi")
|
||||
returns("SELF")
|
||||
doc {
|
||||
"""
|
||||
@@ -810,7 +808,6 @@ object ArrayOps : TemplateGroupBase() {
|
||||
platforms(Platform.Native)
|
||||
} builder {
|
||||
visibility("internal")
|
||||
annotation("@PublishedApi")
|
||||
returns("SELF")
|
||||
doc {
|
||||
"""
|
||||
@@ -876,7 +873,6 @@ object ArrayOps : TemplateGroupBase() {
|
||||
}
|
||||
}
|
||||
on(Platform.Native) {
|
||||
inlineOnly()
|
||||
body { "return this.copyOfUninitializedElements(size)" }
|
||||
}
|
||||
}
|
||||
@@ -919,7 +915,6 @@ object ArrayOps : TemplateGroupBase() {
|
||||
body { newSizeCheck + "\n" + body }
|
||||
}
|
||||
on(Platform.Native) {
|
||||
inlineOnly()
|
||||
body { "return this.copyOfUninitializedElements(newSize)" }
|
||||
}
|
||||
}
|
||||
@@ -940,7 +935,6 @@ object ArrayOps : TemplateGroupBase() {
|
||||
suppress("NO_ACTUAL_FOR_EXPECT") // TODO: KT-21937
|
||||
}
|
||||
on(Platform.Native) {
|
||||
inlineOnly()
|
||||
body { "return this.copyOfNulls(newSize)" }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user