[LL FIR] add lazy resole test for actual override

^KT-63547
This commit is contained in:
Dmitrii Gridin
2023-12-19 15:18:37 +01:00
committed by Space Team
parent 4bd73e4ccd
commit 0dace65f05
6 changed files with 1256 additions and 0 deletions
@@ -0,0 +1,30 @@
// SKIP_WHEN_OUT_OF_CONTENT_ROOT
// WITH_STDLIB
// MODULE: m1-common
// FILE: common.kt
expect open class Base<T>() {
fun existingMethodInBase(param: T)
}
open class Transitive : Base<String>()
expect open class Foo : Transitive {
fun existingMethod()
val existingParam: Int
}
// MODULE: m2-jvm()()(m1-common)
// FILE: jvm.kt
actual open class Base<T> {
actual fun existingMethodInBase(param: T) {}
open fun injected(param: T): Any = ""
}
actual open class Foo : Transitive() {
actual fun existingMethod() {}
actual val existingParam: Int = 904
override fun inje<caret>cted(param: String): String = ""
}