Don't transform irBranch if tableswitch can't be generated
#KT-34466 Fixed
This commit is contained in:
@@ -17,3 +17,7 @@ fun test(e: E?) = when (e) {
|
||||
fun box(): String {
|
||||
return test(null)
|
||||
}
|
||||
|
||||
// CHECK_BYTECODE_TEXT
|
||||
// JVM_IR_TEMPLATES
|
||||
// 1 TABLESWITCH
|
||||
|
||||
Reference in New Issue
Block a user