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

11 lines
151 B
Kotlin
Vendored

open class Base(x: String, y: Int)
fun test(x: Any, y: Int?) {
if (x !is String) return
if (y == null) return
class Local: Base(x, y) {
}
}