Files
kotlin-fork/compiler/testData/diagnostics/tests/controlFlowAnalysis/kt10805.fir.kt
T

13 lines
201 B
Kotlin
Vendored

// !WITH_NEW_INFERENCE
// AssertionError for nested ifs with lambdas and Nothing as results
// NI_EXPECTED_FILE
val fn = if (true) {
{ true }
}
else if (true) {
{ true }
}
else {
null!!
}