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

18 lines
252 B
Plaintext
Vendored

class A {}
fun A.foo() {}
fun bar(a: A) {
a.<caret>foo()
}
Resolved call:
Resulting descriptor: fun A.foo(): Unit defined in root package
Explicit receiver kind = EXTENSION_RECEIVER
Dispatch receiver = NO_RECEIVER
Extension receiver = a {A}