FIR: Fix VerifyError caused by private delegates

^KT-45048 Fixed
This commit is contained in:
Denis.Zharkov
2021-02-20 15:01:57 +03:00
parent ace66b7179
commit 4fffe7b9c8
13 changed files with 153 additions and 45 deletions
@@ -0,0 +1,20 @@
// TARGET_BACKEND: JVM
// WITH_RUNTIME
open class A {
private val _myVal by lazy {
"1" + "2"
}
}
class B : A() {
private val _myVal by lazy {
"O" + "K"
}
fun res() = _myVal
}
fun box(): String {
return B().res()
}