mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
14 lines
452 B
Kotlin
14 lines
452 B
Kotlin
// "Add remaining branches" "true"
|
|
// ERROR: Unresolved reference: TODO
|
|
// ERROR: Unresolved reference: TODO
|
|
enum class Color { R, G, B }
|
|
fun use(c: Color) {
|
|
<caret>when (c) {
|
|
Color.R -> red()
|
|
}
|
|
}
|
|
|
|
fun red() {}
|
|
|
|
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenRemainingBranchesFix
|
|
// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.k2.codeinsight.fixes.AddWhenRemainingBranchFixFactories$AddRemainingWhenBranchesQuickFix |