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

13 lines
206 B
Kotlin
Vendored

fun test(x: Any?) {
if (x !is String) return
class C {
val v = x.<!UNRESOLVED_REFERENCE!>length<!>
val vGet: Int
get() = x.<!UNRESOLVED_REFERENCE!>length<!>
val s: String = x
}
}