Files
kotlin-fork/compiler/testData/resolvedCalls/dynamic/explicitReceiverIsExtensionReceiver.txt
T
2014-12-15 18:12:04 +03:00

15 lines
275 B
Plaintext

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