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

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


Resolved call:

Resulting descriptor: fun invoke(p1: 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
