bd38363077
To explicitly specify which test are failing
14 lines
242 B
Plaintext
Vendored
14 lines
242 B
Plaintext
Vendored
// "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_FIR */ |