af601b5a90
Single-branch if-expressions are now compiled to statements if the result is not used #KT-3036 In Progress
10 lines
100 B
Kotlin
10 lines
100 B
Kotlin
fun foo() {
|
|
if (0 < 1) {
|
|
return
|
|
}
|
|
|
|
if (1 < 2) else {
|
|
return
|
|
}
|
|
}
|