mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 15:53:55 +00:00
12 lines
257 B
Kotlin
Vendored
12 lines
257 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["", <!OI;TOO_MANY_ARGUMENTS!>1<!>] = <!NI;TOO_MANY_ARGUMENTS!>1<!>
|
|
}
|
|
}
|