Files
kotlin-fork/compiler/testData/ir/irText/declarations/contextReceivers/overloadPriority.kt.txt
T
Anastasiya Shadrina 3f50b675b1 [Tests] Add irText tests
2021-12-02 20:24:25 +03:00

24 lines
354 B
Plaintext
Vendored

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