mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
11 lines
310 B
Plaintext
11 lines
310 B
Plaintext
// "Add else branch" "true"
|
|
fun foo(x: String?) {
|
|
while (true) {
|
|
x ?: when { true -> break
|
|
else -> {<caret>}
|
|
}
|
|
}
|
|
}
|
|
|
|
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenElseBranchFix
|
|
// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddWhenElseBranchFix |