3a8ad45dec
Reverts and fixes 102f0d3
19 lines
331 B
Plaintext
19 lines
331 B
Plaintext
class Foo() {
|
|
fun Int.invoke() {}
|
|
}
|
|
|
|
fun bar(f: Foo, i: Int) {
|
|
with (i) {
|
|
f<caret>()
|
|
}
|
|
}
|
|
|
|
|
|
Resolved call:
|
|
|
|
Resulting descriptor: fun Int.invoke(): Unit defined in Foo
|
|
|
|
Explicit receiver kind = DISPATCH_RECEIVER
|
|
Dispatch receiver = f {Foo}
|
|
Extension receiver = IntExt{fun Int.<anonymous>(): Unit defined in bar}
|