mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IJ-CR-141236 ^KTIJ-29531 GitOrigin-RevId: 92eca87015e578dbdbab3c2a792fe283a510d4d0
14 lines
343 B
Plaintext
14 lines
343 B
Plaintext
// "Remove condition" "true"
|
|
fun foo(): Int = 1
|
|
|
|
fun println(i: Int) {}
|
|
|
|
fun main() {
|
|
when (foo()) {
|
|
/*1*//*2*//*3*/ 1 -> println(1)
|
|
else -> println(0)
|
|
}
|
|
}
|
|
|
|
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveWhenConditionFix
|
|
// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.RemoveWhenConditionFix |