e11072b8c2
#KT-30499 Fixed
10 lines
153 B
Kotlin
Vendored
10 lines
153 B
Kotlin
Vendored
// PROBLEM: none
|
|
fun test() = true
|
|
|
|
fun foo(): Int {
|
|
val a<caret> = test()
|
|
return null ?: when (a) {
|
|
true -> 42
|
|
else -> 5
|
|
}
|
|
} |