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

8 lines
86 B
Kotlin
Vendored

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