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 result: String
field = "OK"
get
}
fun contextual(f: Function1<C, String>): String {
return f.invoke(p1 = C())
}
fun box(): String {
return contextual(f = local fun <anonymous>(_context_receiver_0: C): String {
return _context_receiver_0.<get-result>()
}
)
}