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

16 lines
382 B
Kotlin

// "Add remaining branches" "true"
// WITH_STDLIB
sealed class A
class B : A()
fun test(a: A) {
val r = <caret>when (a) {
// comment
}
}
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenRemainingBranchesFix
// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.k2.codeinsight.fixes.AddWhenRemainingBranchFixFactories$AddRemainingWhenBranchesQuickFix