mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
15 lines
336 B
Kotlin
15 lines
336 B
Kotlin
// "Add 'operator' modifier" "true"
|
|
// ERROR: 'operator' modifier is required on 'component2' in 'A'
|
|
|
|
class A {
|
|
fun component1(): Int = 0
|
|
fun component2(): Int = 1
|
|
}
|
|
|
|
fun foo() {
|
|
val (<caret>zero, one) = A()
|
|
}
|
|
|
|
|
|
/* IGNORE_K2 */
|
|
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.AddModifierFixFactory$createAction$1 |