3a8ad45dec
Reverts and fixes 102f0d3
17 lines
254 B
Plaintext
Vendored
17 lines
254 B
Plaintext
Vendored
class Foo() {
|
|
fun Int.invoke() {}
|
|
}
|
|
|
|
fun bar(f: Foo) {
|
|
1.f<caret>()
|
|
}
|
|
|
|
|
|
Resolved call:
|
|
|
|
Resulting descriptor: fun Int.invoke(): Unit defined in Foo
|
|
|
|
Explicit receiver kind = BOTH_RECEIVERS
|
|
Dispatch receiver = f {Foo}
|
|
Extension receiver = 1 {Int}
|