Files
kotlin-fork/compiler/testData/codegen/boxWithStdlib/regressions/kt5056.kt
T
Alexander Udalov af3d56b44e Fix JVM type mapping of arrays of type variables
#KT-4262 Fixed
 #KT-5056 Fixed
2014-05-20 19:22:53 +04:00

5 lines
144 B
Kotlin

fun box(): String {
val list = array("a", "c", "b").toSortedList()
return if (list.toString() == "[a, b, c]") "OK" else "Fail: $list"
}