JVM_IR: do not inline reads of constructor arguments into accessors

This commit is contained in:
pyos
2021-07-27 12:40:48 +02:00
committed by Alexander Udalov
parent 2baf344f5f
commit e9b177352c
10 changed files with 59 additions and 10 deletions
@@ -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