[FIR] Fix incorrect matching of nested classes when actualized via typealias

There are still some places in `.fir.kt` where false-positive reports
remained. This is because of IR checker, which will be fixed in next
commit.

^KT-31636
This commit is contained in:
Roman Efremov
2023-11-20 11:42:20 +01:00
committed by Space Team
parent a768ece70d
commit 4aaf290c99
14 changed files with 190 additions and 20 deletions
@@ -23976,6 +23976,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
runTest("compiler/testData/diagnostics/tests/multiplatform/nestedClassViaActualTypealias.kt");
}
@Test
@TestMetadata("nestedClassViaActualTypealiasWithTypeParam.kt")
public void testNestedClassViaActualTypealiasWithTypeParam() throws Exception {
runTest("compiler/testData/diagnostics/tests/multiplatform/nestedClassViaActualTypealiasWithTypeParam.kt");
}
@Test
@TestMetadata("optionalExpectationDiagnostics.kt")
public void testOptionalExpectationDiagnostics() throws Exception {
@@ -23976,6 +23976,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
runTest("compiler/testData/diagnostics/tests/multiplatform/nestedClassViaActualTypealias.kt");
}
@Test
@TestMetadata("nestedClassViaActualTypealiasWithTypeParam.kt")
public void testNestedClassViaActualTypealiasWithTypeParam() throws Exception {
runTest("compiler/testData/diagnostics/tests/multiplatform/nestedClassViaActualTypealiasWithTypeParam.kt");
}
@Test
@TestMetadata("optionalExpectationDiagnostics.kt")
public void testOptionalExpectationDiagnostics() throws Exception {