[Fir2IR] Fix fake override generation for lazy accessors

^KT-65595 Fixed
This commit is contained in:
Pavel Kunyavskiy
2024-02-08 11:53:45 +01:00
committed by Space Team
parent d121b529b5
commit b4062c8974
12 changed files with 83 additions and 1 deletions
+23
View File
@@ -0,0 +1,23 @@
// TARGET_BACKEND: JVM
// FILE: A.kt
interface A {
val x: String
}
// FILE: B.kt
interface B : A
// FILE: C.java
public interface C extends B { }
// FILE: D.kt
class D : C {
override val x: String
get() = "OK"
}
// FILE: box.kt
fun go(p: C): String = p.x
fun box(): String = go(D())