Files
kotlin-fork/compiler/testData/diagnostics/tests/regressions/kt10243.fir.kt
T

18 lines
376 B
Kotlin
Vendored

// !WITH_NEW_INFERENCE
val f: Boolean = true
private fun doUpdateRegularTasks() {
try {
while (f) {
val xmlText = <!UNRESOLVED_REFERENCE!>getText<!>()
if (xmlText == null) {}
else {
xmlText.<!UNRESOLVED_REFERENCE!>value<!> = 0 // !!!
}
}
}
finally {
fun execute() {}
}
}