interface MyMap { operator fun get(k: K): V operator fun set(k: K, v: V) } fun test(m: MyMap) { m["a"] += 1 }