Files
kotlin-fork/compiler/testData/resolvedCalls/explicitReceiverIsReceiverArgument.txt
T

17 lines
219 B
Plaintext

class A {}
fun A.foo() {}
fun bar(a: A) {
a.<caret>foo()
}
Resolved call:
Resulting descriptor: fun A.foo(): Unit
Explicit receiver kind = RECEIVER_ARGUMENT
This object = NO_RECEIVER
Receiver argument = a {A}