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

16 lines
183 B
Plaintext

// !CALL: invoke
class Foo {
fun invoke() {}
}
fun bar(f: Foo) {
f()
}
Resolved call:
Explicit receiver kind = THIS_OBJECT
This object = f
Receiver argument = NO_RECEIVER