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
21 lines
257 B
Plaintext
Vendored
21 lines
257 B
Plaintext
Vendored
fun foo() {
|
|
{ // BLOCK
|
|
}
|
|
val x: Int = 0
|
|
{ // BLOCK
|
|
val tmp0_subject: Int = x
|
|
when {
|
|
else -> { // BLOCK
|
|
}
|
|
}
|
|
}
|
|
val z: Unit = { // BLOCK
|
|
val tmp1_subject: Int = x
|
|
when {
|
|
else -> { // BLOCK
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|