FIR: Fix VerifyError caused by private delegates
^KT-45048 Fixed
This commit is contained in:
@@ -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()
|
||||
}
|
||||
Reference in New Issue
Block a user