[LL FIR] avoid redundant pass through the entire super type hierarchy for nested classes

We can omit this step in LL FIR because, according to the contract,
an outer class must be resolved before nested class
Also, it drops unsafe access to superTypeRefs from FIR transformer

^KT-56550
This commit is contained in:
Dmitrii Gridin
2023-05-07 16:11:28 +02:00
committed by Space Team
parent ee74e10f28
commit 873c7d63ed
6 changed files with 454 additions and 7 deletions
@@ -0,0 +1,5 @@
open class TopLevelClass
open class AnotherTopLevelClass : TopLevelClass()
class OuterClass : AnotherTopLevelClass() {
class Nested<caret>Class
}