mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
12 lines
244 B
Kotlin
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 |