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