8 lines
151 B
Kotlin
Vendored
8 lines
151 B
Kotlin
Vendored
interface MyMap<K, V> {
|
|
operator fun get(k: K): V
|
|
operator fun set(k: K, v: V)
|
|
}
|
|
|
|
fun test(m: MyMap<String, Int>) {
|
|
<expr>++m["a"]</expr>
|
|
} |