[FIR] Fix crash caused by cast of raw type to simple type

#KT-66552 Fixed
This commit is contained in:
Kirill Rakhman
2024-03-13 13:56:12 +01:00
committed by Space Team
parent cec36355b2
commit 786c37286c
7 changed files with 74 additions and 2 deletions
@@ -22200,6 +22200,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
runTest("compiler/testData/diagnostics/tests/j+k/rawOverride.kt");
}
@Test
@TestMetadata("rawTypeCrash.kt")
public void testRawTypeCrash() {
runTest("compiler/testData/diagnostics/tests/j+k/rawTypeCrash.kt");
}
@Test
@TestMetadata("rawTypeScope.kt")
public void testRawTypeScope() {
@@ -22200,6 +22200,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
runTest("compiler/testData/diagnostics/tests/j+k/rawOverride.kt");
}
@Test
@TestMetadata("rawTypeCrash.kt")
public void testRawTypeCrash() {
runTest("compiler/testData/diagnostics/tests/j+k/rawTypeCrash.kt");
}
@Test
@TestMetadata("rawTypeScope.kt")
public void testRawTypeScope() {