[FIR2IR] Generate fake overrides earlier and bind them later

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.
This commit is contained in:
Mikhail Glukhikh
2020-08-21 16:27:50 +03:00
parent ee9c597767
commit 53ad502d2a
6 changed files with 102 additions and 64 deletions
-1
View File
@@ -1,4 +1,3 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun box() = Class().printSome()
public abstract class AbstractClass<T> {