2c2851af6e
Also fix FIR implementation to generate boolean branches in the same order as FE1.0.
10 lines
124 B
Kotlin
Vendored
10 lines
124 B
Kotlin
Vendored
sealed class Foo {
|
|
object A : Foo()
|
|
class B(val i: Int) : Foo()
|
|
}
|
|
|
|
fun test(e: Foo) {
|
|
<caret>when (e) {
|
|
}
|
|
}
|