761a0a7d0d
Specifically, the report the following 4 errors. * NON_VARARG_SPREAD * ARGUMENT_PASSED_TWICE * TOO_MANY_ARGUMENTS * NO_VALUE_FOR_PARAMETER Also added/updated the following position strategies. * NAME_OF_NAMED_ARGUMENT * VALUE_ARGUMENTS
12 lines
226 B
Kotlin
Vendored
12 lines
226 B
Kotlin
Vendored
// !WITH_NEW_INFERENCE
|
|
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
|
|
|
class A {
|
|
operator fun get(x: Int) {}
|
|
operator fun set(x: String, value: Int) {}
|
|
|
|
fun d(x: Int) {
|
|
this["", 1] = <!TOO_MANY_ARGUMENTS!>1<!>
|
|
}
|
|
}
|