ae4b8be16b
In details, this commit changes the following: - it converts FIR when without branches to empty IR block without when - it doesn't drop empty else branches in when anymore
8 lines
106 B
Kotlin
Vendored
8 lines
106 B
Kotlin
Vendored
enum class A { X1, X2 }
|
|
|
|
fun box(): String {
|
|
when {}
|
|
when (A.X1) { else -> {} }
|
|
return "OK"
|
|
}
|