Files
kotlin-fork/compiler/testData/resolvedCalls/invoke/invokeOnObject2.txt
T
2020-02-13 11:15:58 +03:00

20 lines
353 B
Plaintext
Vendored

object A {
fun invoke(i: Int) = i
}
fun test() = A<caret>(1)
Resolved call:
Candidate descriptor: fun invoke(i: Int): Int defined in A
Resulting descriptor: fun invoke(i: Int): Int defined in A
Explicit receiver kind = DISPATCH_RECEIVER
Dispatch receiver = A {A}
Extension receiver = NO_RECEIVER
Value arguments mapping:
SUCCESS i : Int = 1