FIR2IR: don't create non-lazy fake overrides inside lazy class

This commit allows to calculate member with initial signature properly.
Only lazy IR members are suitable to calculate initial signature.
Before this commit we sometimes built non-lazy children for lazy class.
Now we build lazy children (with an exception of private declarations).
This commit is contained in:
Mikhail Glukhikh
2022-02-14 16:29:14 +03:00
committed by Space
parent 80a68ec433
commit 76ff717091
5 changed files with 72 additions and 54 deletions
@@ -3,12 +3,6 @@
// SKIP_JDK6
// FULL_JDK
// IGNORE_BACKEND_FIR: JVM_IR
// FIR_STATUS: java.lang.StackOverflowError
// at Test.remove(removeAtBridgeToJavaDefault.kt:7)
// at Test.remove(removeAtBridgeToJavaDefault.kt:7)
// at Test.remove(removeAtBridgeToJavaDefault.kt:7)
// FILE: removeAtBridgeToJavaDefault.kt
class Test : IntArrayList()