FIR2IR: Fix case of using context receivers in property initializers
This commit is contained in:
+1
-2
@@ -1,6 +1,5 @@
|
||||
// !LANGUAGE: +ContextReceivers
|
||||
// TARGET_BACKEND: JVM_IR
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
// FIR status: context receivers aren't yet supported
|
||||
|
||||
class O(val o: String)
|
||||
@@ -15,4 +14,4 @@ fun box(): String {
|
||||
val ok = OK("K")
|
||||
ok.result
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-2
@@ -1,6 +1,5 @@
|
||||
// !LANGUAGE: +ContextReceivers
|
||||
// TARGET_BACKEND: JVM_IR
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
// FIR status: context receivers aren't yet supported
|
||||
|
||||
class A {
|
||||
@@ -15,4 +14,4 @@ class B {
|
||||
typealias C = B
|
||||
|
||||
fun box(): String =
|
||||
with(A()) { C().result }
|
||||
with(A()) { C().result }
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// !LANGUAGE: +ContextReceivers
|
||||
// TARGET_BACKEND: JVM_IR
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
// FIR status: context receivers aren't yet supported
|
||||
|
||||
// MODULE: lib
|
||||
|
||||
Reference in New Issue
Block a user