FIR: Unignore all Fir2IrText tests on context receivers

This commit is contained in:
Denis.Zharkov
2022-03-28 18:47:29 +03:00
committed by teamcity
parent 55159eba45
commit 66bd8dccfa
75 changed files with 4710 additions and 62 deletions
@@ -0,0 +1,23 @@
class C {
constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
val c: Int
field = 42
get
}
fun foo(_context_receiver_0: C) {
_context_receiver_0.<get-c>() /*~> Unit */
}
fun bar(c: C) {
with<C, Unit>(receiver = c, block = local fun C.<anonymous>() {
foo(_context_receiver_0 = $this$with)
}
)
}