Files
openide/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesInNonDefaultPackage.kt
Bart van Helvert 9652c5a2f1 [kotlin] Move K2 fixes into a new module
GitOrigin-RevId: e8001ccd6e80b535ae165acba449d6b16cd27910
2024-03-13 00:27:06 +00:00

11 lines
436 B
Kotlin

// "Add remaining branches" "true"
// ERROR: Unresolved reference: TODO
// ERROR: Unresolved reference: TODO
package test
enum class Color { R, G, B }
fun test(c: Color) = wh<caret>en(c) {
Color.B -> 0xff
}
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenRemainingBranchesFix
// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.k2.codeinsight.fixes.AddWhenRemainingBranchFixFactories$AddRemainingWhenBranchesQuickFix