Files
kotlin/compiler/testData/codegen/box/safeCall/genericNull.kt

9 lines
106 B
Kotlin
Vendored

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