2ecba6ac39
This directive anyway does not make test run twice with OI, and with NI It only once run the test with specific settings (// LANGUAGE) and ignores irrelevant (OI or NI tags)
13 lines
179 B
Kotlin
Vendored
13 lines
179 B
Kotlin
Vendored
// AssertionError for nested ifs with lambdas and Nothing as results
|
|
// NI_EXPECTED_FILE
|
|
|
|
val fn = if (true) {
|
|
{ true }
|
|
}
|
|
else if (true) {
|
|
{ true }
|
|
}
|
|
else {
|
|
null!!
|
|
}
|