3a8ad45dec
Reverts and fixes 102f0d3
23 lines
405 B
Plaintext
23 lines
405 B
Plaintext
class A {
|
|
fun B.foo() {}
|
|
}
|
|
|
|
trait B
|
|
|
|
fun bar(a: A, b: B) {
|
|
with (a) {
|
|
with (b) {
|
|
<caret>foo()
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
Resolved call:
|
|
|
|
Resulting descriptor: fun B.foo(): Unit defined in A
|
|
|
|
Explicit receiver kind = NO_EXPLICIT_RECEIVER
|
|
Dispatch receiver = AExt{fun A.<anonymous>(): Unit defined in bar}
|
|
Extension receiver = BExt{fun B.<anonymous>(): Unit defined in bar.<anonymous>}
|