4dff9cf5fc
Additionally added tests for other cases.
21 lines
438 B
Plaintext
21 lines
438 B
Plaintext
class A {
|
|
fun dynamic.foo() {}
|
|
}
|
|
|
|
fun bar(a: A, b: dynamic) {
|
|
with (a) {
|
|
with (b) {
|
|
<caret>foo()
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
Resolved call:
|
|
|
|
Resulting descriptor: fun dynamic.foo(): Unit defined in A
|
|
|
|
Explicit receiver kind = NO_EXPLICIT_RECEIVER
|
|
Dispatch receiver = AExt{fun A.<anonymous>(): Unit defined in bar}
|
|
Extension receiver = ('Nothing'..'Any?')Ext{fun dynamic.<anonymous>(): Unit defined in bar.<anonymous>}
|