53ad502d2a
Before this commit, we generated fake overrides at last FIR2IR stage, after having all functions and classes built. This could lead to a situation when fake override was called before it was generated. This commit fixes this situation.
14 lines
255 B
Kotlin
Vendored
14 lines
255 B
Kotlin
Vendored
fun box() = Class().printSome()
|
|
|
|
public abstract class AbstractClass<T> {
|
|
public fun printSome() : T = some
|
|
|
|
public abstract val some: T
|
|
}
|
|
|
|
public class Class: AbstractClass<String>() {
|
|
public override val some: String
|
|
get() = "OK"
|
|
|
|
}
|