Files
kotlin-fork/compiler/testData/resolvedCalls/explicitReceiverIsReceiverArgument.txt
T
Svetlana Isakova 29ab166e1b Refactoring: AbstractResolvedCallsTest
Render resolved call to a separate file
2014-07-08 14:48:19 +04:00

16 lines
181 B
Plaintext

// !CALL: foo
class A {}
fun A.foo() {}
fun bar(a: A) {
a.foo()
}
Resolved call:
Explicit receiver kind = RECEIVER_ARGUMENT
This object = NO_RECEIVER
Receiver argument = a