// ISSUE: KT-56714 fun test(m: MyMap) { m.set(SomeKey) { _, _ -> } m[SomeKey] = { _, _ -> } } data class EditorData(val meta: MyMap) interface MyMap { operator fun set(k: Key, v: T) } interface Key interface EditorDataKey : Key object SomeKey : EditorDataKey<(String, bar: Any) -> Unit>