mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
11 lines
375 B
Kotlin
11 lines
375 B
Kotlin
// "Replace ',' with '||' in when" "true"
|
|
fun test(a: Boolean, b: Boolean, c: Boolean) {
|
|
val c = when {
|
|
a<caret>, b -> "a"
|
|
c -> "b"
|
|
else -> "e"
|
|
}
|
|
}
|
|
|
|
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.CommaInWhenConditionWithoutArgumentFix
|
|
// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.CommaInWhenConditionWithoutArgumentFix |