[FIR] Carefully process constructors of inner and nested classes in the tower

If there is an expression receiver, we should process constructors only
  of inner classes. Constructors of nested classes can be called only
  on classifier

^KT-65333 Fixed
This commit is contained in:
Dmitriy Novozhilov
2024-02-27 12:36:29 +02:00
committed by Space Team
parent 67557ce731
commit 5b01396a11
15 changed files with 182 additions and 25 deletions
@@ -25813,6 +25813,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/innerNested/importNestedClass.kt");
}
@TestMetadata("inheritedInnerAndNested.kt")
public void testInheritedInnerAndNested() {
runTest("compiler/testData/codegen/box/innerNested/inheritedInnerAndNested.kt");
}
@TestMetadata("innerGeneric.kt")
public void testInnerGeneric() {
runTest("compiler/testData/codegen/box/innerNested/innerGeneric.kt");