fun foo(f: (Int) -> String) {}

fun test() {
    <caret>foo { x -> "$x"}
}


Resolved call:

Resulting descriptor: fun foo(f: (Int) -> String): Unit

Explicit receiver kind = NO_EXPLICIT_RECEIVER
This object = NO_RECEIVER
Receiver argument = NO_RECEIVER

Value arguments mapping:

SUCCESS  f : (Int) -> String = { x -> "$x"}