mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
6 lines
193 B
Kotlin
Vendored
6 lines
193 B
Kotlin
Vendored
fun box(): String {
|
|
val supertypes = JavaClass.foo { a, b -> a.compareTo(b) }
|
|
if (supertypes != "[java.util.Comparator<java.lang.String>]") return "Fail: $supertypes"
|
|
return "OK"
|
|
}
|