Files
Vladimir Dolzhenko 1697b4cdc6 [kotlin] Use IGNORE_K2 instead of IGNORE_FIR
GitOrigin-RevId: e380b6203a00315f718b7e08d1048ec284dce1a3
2023-08-30 11:02:38 +00:00

12 lines
244 B
Kotlin

// "Remove else branch" "true"
fun foo(b: Boolean) {
when (b) {
true -> return
false -> {}
<caret>else -> error()
}
}
/* IGNORE_K2 */
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveWhenBranchFix