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

9 lines
157 B
Kotlin
Vendored

// !CHECK_TYPE
interface B<T>
interface G<T>: B<T>
fun f(p: B<<!UNRESOLVED_REFERENCE!>Foo<!>>): Any {
val v = p as G
return checkSubtype<G<*>>(v)
}