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

17 lines
236 B
Plaintext

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