11 lines
172 B
Kotlin
Vendored
11 lines
172 B
Kotlin
Vendored
interface A {
|
|
operator fun plusAssign(i: Int)
|
|
}
|
|
|
|
interface MyMap<K, V> {
|
|
operator fun get(k: K): V
|
|
}
|
|
|
|
fun test(m: MyMap<String, A>) {
|
|
<expr>m["a"] += 1</expr>
|
|
} |