mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
^KTIJ-31306 fixed GitOrigin-RevId: 71def29b5e8681891f9b6e9be3feb1bda724e175
11 lines
257 B
Kotlin
11 lines
257 B
Kotlin
// "Replace '&&' with 'if'" "false"
|
|
// WITH_STDLIB
|
|
|
|
fun test(a: Any) {
|
|
when (a) {
|
|
is Int && a % 2 == 0 -> {}
|
|
else && <caret> a % 2 == 0 -> {}
|
|
}
|
|
}
|
|
|
|
// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceAndWithWhenGuardFix |