[FIR2IR] Generate unconditional branch in exhaustive whens
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
sealed class Season {
|
||||
object Warm: Season()
|
||||
object Cold: Season()
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
sealed class Season {
|
||||
class Warm: Season()
|
||||
class Cold: Season()
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
// CHECK_CASES_COUNT: function=test count=0
|
||||
// CHECK_IF_COUNT: function=test count=3
|
||||
|
||||
|
||||
Reference in New Issue
Block a user