Files
kotlin/compiler/testData/diagnostics/tests/dataFlow/local/LocalClassInMemberOfLocalClass.fir.kt

16 lines
278 B
Kotlin
Vendored

fun test(x: Any) {
if (x !is String) return
class LocalOuter {
fun foo(y: Any) {
if (y !is String) return
class Local {
init {
x.<!UNRESOLVED_REFERENCE!>length<!>
y.<!UNRESOLVED_REFERENCE!>length<!>
}
}
}
}
}