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