Files
kotlin-fork/compiler/testData/resolvedCalls/arguments/functionLiterals/simpleLambda.txt
T

18 lines
324 B
Plaintext

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"}