Files
kotlin-fork/compiler/testData/ir/irText/declarations/contextReceivers/overloading.kt.txt
T
2023-03-23 16:23:09 +00:00

15 lines
367 B
Kotlin
Vendored

fun foo($context_receiver_0: Int, $context_receiver_1: String): Int {
return $context_receiver_0.plus(other = 42)
}
fun foo($context_receiver_0: Int): Int {
return $context_receiver_0.plus(other = 42)
}
fun test() {
with<Int, Int>(receiver = 42, block = local fun Int.<anonymous>(): Int {
return foo($context_receiver_0 = $this$with)
}
) /*~> Unit */
}