18 lines
317 B
Plaintext
18 lines
317 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 = THIS_OBJECT
|
|
This object = f {Foo}
|
|
Receiver argument = IntExt{fun Int.<anonymous>(): Unit defined in bar} |