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

10 lines
132 B
Kotlin
Vendored

interface Tr
interface G<T>
fun test(tr: Tr): Any {
return tr as G<G>
}
fun test1(tr: Tr): Any {
return tr as G.(G) -> G
}