[FIR] Expand type alias when checking for type parameters from outer declaration

This fixes a false positive OUTER_CLASS_ARGUMENTS_REQUIRED when
referring to an inner class of a supertype that is extended using a
typealias.

#KT-62099 Fixed
This commit is contained in:
Kirill Rakhman
2023-10-24 11:01:17 +02:00
committed by Space Team
parent 907ebb36d0
commit 8821f8d1a4
8 changed files with 74 additions and 4 deletions
@@ -35370,6 +35370,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
runTest("compiler/testData/diagnostics/tests/typealias/kt57065.kt");
}
@Test
@TestMetadata("kt62099.kt")
public void testKt62099() throws Exception {
runTest("compiler/testData/diagnostics/tests/typealias/kt62099.kt");
}
@Test
@TestMetadata("localTypeAlias.kt")
public void testLocalTypeAlias() throws Exception {
@@ -35370,6 +35370,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
runTest("compiler/testData/diagnostics/tests/typealias/kt57065.kt");
}
@Test
@TestMetadata("kt62099.kt")
public void testKt62099() throws Exception {
runTest("compiler/testData/diagnostics/tests/typealias/kt62099.kt");
}
@Test
@TestMetadata("localTypeAlias.kt")
public void testLocalTypeAlias() throws Exception {