https://kotlinlang.org logo
#kotlin-native
Title
# kotlin-native
b

benkuly

11/23/2021, 3:58 PM
Using Kotlin 1.6.0 this test runs on JVM, but native does not sort properly:
Copy code
@Test
fun test() {
    val input = listOf("本", "日")
    val output = input.sorted()
    val expected = listOf("日", "本")
    assertEquals(expected, output)
}
7 Views