Files
Vladimir Dolzhenko 1697b4cdc6 [kotlin] Use IGNORE_K2 instead of IGNORE_FIR
GitOrigin-RevId: e380b6203a00315f718b7e08d1048ec284dce1a3
2023-08-30 11:02:38 +00:00

15 lines
338 B
Plaintext

// "Add 'operator' modifier" "true"
// ERROR: 'operator' modifier is required on 'component2' in 'A'
class A {
operator fun component1(): Int = 0
fun component2(): Int = 1
}
fun foo() {
val (zero, one) = A()
}
/* IGNORE_K2 */
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.inspections.AddModifierFixFactory$createAction$1