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

24 lines
380 B
Kotlin
Vendored

class Context {
constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
}
fun f($context_receiver_0: Context): String {
return TODO()
}
fun f(): Any {
return TODO()
}
fun test() {
with<Context, Int>(receiver = Context(), block = local fun Context.<anonymous>(): Int {
return f($context_receiver_0 = $this$with).<get-length>()
}
) /*~> Unit */
}