interface A {
    val foo: (Int)->Int
}

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


Resolved call:

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

Explicit receiver kind = DISPATCH_RECEIVER
Dispatch receiver = foo {Function1<Int, Int>}
Extension receiver = NO_RECEIVER

Value arguments mapping:

SUCCESS  p1 : Int = 1
