JVM_IR: do not inline reads of constructor arguments into accessors
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
// WITH_RUNTIME
|
||||
class C(val x: String)
|
||||
|
||||
class D(c: C) {
|
||||
val x by c::x
|
||||
}
|
||||
|
||||
fun box(): String = D(C("OK")).x
|
||||
Reference in New Issue
Block a user