Files
kotlin-fork/compiler/testData/resolvedCalls/explicitReceiverIsThisObject.txt
T
2014-09-01 12:32:52 +04:00

16 lines
225 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 = THIS_OBJECT
This object = a {A}
Receiver argument = NO_RECEIVER