Files
kotlin-fork/compiler/testData/diagnostics/tests/cast/bare/NullableAsNotEnough.fir.kt
T

9 lines
112 B
Kotlin
Vendored

// !CHECK_TYPE
interface Tr
interface G<T>
fun test(tr: Tr?) {
val v = tr as G
checkSubtype<G<*>>(v)
}