[FIR] Fill overriddenSymbols for fake overridden IrProperty

This commit is contained in:
Andrey Zinovyev
2021-06-16 14:30:56 +03:00
committed by teamcityserver
parent 4f98a0e083
commit d360932ebc
56 changed files with 450 additions and 373 deletions
@@ -0,0 +1,19 @@
// TARGET_BACKEND: JVM
// WITH_STDLIB
// MODULE: lib
// FILE: A.kt
abstract class Foo<T : Number>(@JvmField val foo: T)
class Bar(foo: Int) : Foo<Int>(foo) {
fun test(): Int = foo + 1
}
// MODULE: main(lib)
// FILE: B.kt
fun box(): String {
Bar(41).test()
return "OK"
}