12 lines
173 B
Kotlin
Vendored
12 lines
173 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"]</expr> += 1
|
|
}
|