```interface Test { fun blah() } interface A ...
# language-evolution
j
Copy code
interface Test {
    fun blah()
}

interface A {
    fun doSomething()  
}

interface B {
    fun doSomething()
}

context(A, B)
class TestImpl : Test {

    override fun blah() {
       doSomething() // <-- Overload resolution ambiguity
    }

}
this currently shows an
Overload resolution ambiguity. All these functions match.
error will
this@A.doSomething()
and
this@B.doSomething()
be supported in the future?
nevermind, it compiles it's just the IntelliJ autocomplete that doesn't show A/B options or doSomething when you hit this@A.
a
Yup, it's a current limitation from using context receivers, intellij is just breaking on these, this is why it's still experimental
Maybe it's fixed in K2 but I'm unsure