diff --git a/libraries/stdlib/common/src/generated/_Arrays.kt b/libraries/stdlib/common/src/generated/_Arrays.kt index f463289f29b..fceb587059e 100644 --- a/libraries/stdlib/common/src/generated/_Arrays.kt +++ b/libraries/stdlib/common/src/generated/_Arrays.kt @@ -7721,43 +7721,3 @@ public header fun BooleanArray.toTypedArray(): Array */ public header fun CharArray.toTypedArray(): Array -/** - * Sorts the array in-place according to the order specified by the given [comparison] function. - */ -public header inline fun Array.sort(noinline comparison: (T, T) -> Int): Unit - -/** - * Sorts the array in-place according to the order specified by the given [comparison] function. - */ -public header inline fun ByteArray.sort(noinline comparison: (Byte, Byte) -> Int): Unit - -/** - * Sorts the array in-place according to the order specified by the given [comparison] function. - */ -public header inline fun ShortArray.sort(noinline comparison: (Short, Short) -> Int): Unit - -/** - * Sorts the array in-place according to the order specified by the given [comparison] function. - */ -public header inline fun IntArray.sort(noinline comparison: (Int, Int) -> Int): Unit - -/** - * Sorts the array in-place according to the order specified by the given [comparison] function. - */ -public header inline fun LongArray.sort(noinline comparison: (Long, Long) -> Int): Unit - -/** - * Sorts the array in-place according to the order specified by the given [comparison] function. - */ -public header inline fun FloatArray.sort(noinline comparison: (Float, Float) -> Int): Unit - -/** - * Sorts the array in-place according to the order specified by the given [comparison] function. - */ -public header inline fun DoubleArray.sort(noinline comparison: (Double, Double) -> Int): Unit - -/** - * Sorts the array in-place according to the order specified by the given [comparison] function. - */ -public header inline fun CharArray.sort(noinline comparison: (Char, Char) -> Int): Unit - diff --git a/libraries/tools/kotlin-stdlib-gen/src/generators/GenerateStandardLib.kt b/libraries/tools/kotlin-stdlib-gen/src/generators/GenerateStandardLib.kt index 2b76d5ad92d..813d0b48cf9 100644 --- a/libraries/tools/kotlin-stdlib-gen/src/generators/GenerateStandardLib.kt +++ b/libraries/tools/kotlin-stdlib-gen/src/generators/GenerateStandardLib.kt @@ -64,7 +64,7 @@ fun generateCollectionsJsAPI(outDir: File) { } fun generateCommonAPI(outDir: File) { - (commonGenerators + ::specialJVM + ::specialJS).flatMap { it().sortedBy { it.signature }.asSequence() } + (commonGenerators + ::specialJVM).flatMap { it().sortedBy { it.signature }.asSequence() } .groupByFileAndWrite(outDir, platform = Platform.Common) }