Files
kotlin-fork/compiler/testData/resolvedCalls/explicitReceiverIsDispatchReceiver.txt
T
Alexander Udalov 3a8ad45dec Append newline to EOF for .txt test data files
Reverts and fixes 102f0d3
2014-10-21 03:18:27 +04:00

17 lines
239 B
Plaintext

class A {
fun foo() {}
}
fun bar(a: A) {
a.<caret>foo()
}
Resolved call:
Resulting descriptor: fun foo(): Unit defined in A
Explicit receiver kind = DISPATCH_RECEIVER
Dispatch receiver = a {A}
Extension receiver = NO_RECEIVER