Files
kotlin-fork/analysis/analysis-api/testData/components/whenMissingCases/nullableSealedClass_empty.kt
T
Tianyu Geng 2c2851af6e Analysis API: add test covering get missing when branches
Also fix FIR implementation to generate boolean branches in the same
order as FE1.0.
2021-11-04 23:04:35 +01:00

9 lines
124 B
Kotlin
Vendored

sealed class Foo {
object A : Foo()
class B(val i: Int) : Foo()
}
fun test(e: Foo?) {
<caret>when (e) {
}
}