diff --git a/libraries/tools/kotlin-stdlib-gen/src/templates/Arrays.kt b/libraries/tools/kotlin-stdlib-gen/src/templates/Arrays.kt index 678fb0421d4..405b56cd0cd 100644 --- a/libraries/tools/kotlin-stdlib-gen/src/templates/Arrays.kt +++ b/libraries/tools/kotlin-stdlib-gen/src/templates/Arrays.kt @@ -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)" } } }