Files
kotlin-fork/idea/testData/quickfix/when/addRemainingBranchesEnumBackTicks.kt
T
2021-05-11 21:42:45 +02:00

12 lines
201 B
Kotlin
Vendored

// "Add remaining branches" "true"
// WITH_RUNTIME
enum class FooEnum {
A, B, `C`, `true`, `false`, `null`
}
fun test(foo: FooEnum?) = <caret>when (foo) {
FooEnum.A -> "A"
}
/* IGNORE_FIR */