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,14 @@
fun withContext(f: Function1<String, String>): String {
return f.invoke(p1 = "OK")
}
fun callWithContext(f: Function1<String, String>): String {
return withContext(f = f)
}
fun box(): String {
return callWithContext(f = local fun <anonymous>(s: String): String {
return s
}
)
}