Files
kotlin-fork/compiler/testData/diagnostics/tests/dataFlow/local/LocalClassDelegation.fir.kt
T

12 lines
107 B
Kotlin
Vendored

interface D {
fun foo() {}
}
fun test(d: Any?) {
if (d !is D) return
class Local : D by d {
}
}