918a91dbdf
#KT-51248
16 lines
375 B
Plaintext
Vendored
16 lines
375 B
Plaintext
Vendored
fun bar(f: Int.() -> Unit, i: Int) {
|
|
with (i) {
|
|
f<caret>()
|
|
}
|
|
}
|
|
|
|
|
|
|
|
Resolved call:
|
|
|
|
Resulting descriptor: operator fun Int.invoke(): Unit defined in kotlin.Function1
|
|
|
|
Explicit receiver kind = DISPATCH_RECEIVER
|
|
Dispatch receiver = f {[@kotlin.ExtensionFunctionType] Function1<Int, Unit>}
|
|
Extension receiver = IntExt{fun Int.`<anonymous>`(): Unit defined in bar}
|