Files
kotlin-fork/compiler/testData/diagnostics/tests/dataFlow/local/LocalClassProperty.fir.kt
T
2020-04-03 10:08:19 +03:00

13 lines
152 B
Kotlin
Vendored

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