Files
kotlin-fork/analysis/analysis-api/testData/components/whenMissingCases/nullableEnum.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

8 lines
87 B
Kotlin
Vendored

enum class MyEnum {
A, B, C
}
fun test(e: MyEnum?) {
<caret>when (e) {
}
}