34e6459014
to the last parameter of the set operator function, even if there are missing or too many index arguments.
11 lines
206 B
Kotlin
Vendored
11 lines
206 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
|
|
|
class A {
|
|
operator fun set(x: String, y: Boolean, value: Int) {}
|
|
|
|
fun d(x: Int) {
|
|
<!NO_VALUE_FOR_PARAMETER("y")!>this[""]<!> = 1
|
|
}
|
|
}
|