interface Map interface MutableMap: Map { operator fun set(k: K, v: V) } fun p(p: Map) { if (p is MutableMap) { p[""] = 1 } }