interface A {
    val foo: Int.()->Unit

    fun test() {
        1.foo<caret>()
    }
}



Resolved call:

Resulting descriptor: operator fun Int.invoke(): Unit defined in kotlin.Function1

Explicit receiver kind = BOTH_RECEIVERS
Dispatch receiver = foo {[@kotlin.ExtensionFunctionType] Function1<Int, Unit>}
Extension receiver = 1 {Int}
