Files
kotlin-fork/compiler/testData/resolvedCalls/dynamic/explicitReceiverIsExtensionReceiver.txt
T
Stanislav Erokhin 1d9ca06b96 Remake KotlinTypes.
2016-06-09 12:57:59 +03:00

16 lines
264 B
Plaintext
Vendored

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 {dynamic}