Files
2020-03-23 15:13:50 +03:00

9 lines
106 B
Kotlin
Vendored

fun <T : Number?> foo(t: T) {
t?.toInt()
}
fun box(): String {
foo<Int?>(null)
return "OK"
}