interface A { operator fun plusAssign(i: Int) } interface MyMap { operator fun get(k: K): V } fun test(m: MyMap) { m["a"] += 1 }