FIR: Unignore all Fir2IrText tests on context receivers
This commit is contained in:
Vendored
+23
@@ -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>()
|
||||
}
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user