mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
This quick fix is for the NO_COMPANION_OBJECT error. ^KTIJ-29547 GitOrigin-RevId: f77a65a12774ff7fb2f1cf917c6b81501a67fc01
11 lines
277 B
Kotlin
11 lines
277 B
Kotlin
// "Add 'is' before 'Foo'" "true"
|
|
|
|
class Foo
|
|
|
|
fun test(a: Any) {
|
|
when (a) {
|
|
<caret>Foo -> {}
|
|
}
|
|
}
|
|
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddIsToWhenConditionFix
|
|
// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddIsToWhenConditionFix |