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

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


Resolved call:

Resulting descriptor: fun Int.invoke(): Unit

Explicit receiver kind = BOTH_RECEIVERS
This object = foo {ExtensionFunction0<Int, Unit>}
Receiver argument = 1 {Int}
