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