Process raw types during erasion properly

^KT-46670 Fixed
^KT-46476 Fixed
This commit is contained in:
Victor Petukhov
2021-05-14 18:57:59 +03:00
parent 570d860217
commit 0d6764efc5
14 changed files with 174 additions and 7 deletions
@@ -21304,6 +21304,12 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirDiagnosti
runTest("compiler/testData/diagnostics/tests/platformTypes/rawTypes/substituteSeveralOtherErasedTypeArguments.kt");
}
@Test
@TestMetadata("superTypeErasion.kt")
public void testSuperTypeErasion() throws Exception {
runTest("compiler/testData/diagnostics/tests/platformTypes/rawTypes/superTypeErasion.kt");
}
@Test
@TestMetadata("typeEnhancement.kt")
public void testTypeEnhancement() throws Exception {
@@ -21304,6 +21304,12 @@ public class FirOldFrontendDiagnosticsWithLightTreeTestGenerated extends Abstrac
runTest("compiler/testData/diagnostics/tests/platformTypes/rawTypes/substituteSeveralOtherErasedTypeArguments.kt");
}
@Test
@TestMetadata("superTypeErasion.kt")
public void testSuperTypeErasion() throws Exception {
runTest("compiler/testData/diagnostics/tests/platformTypes/rawTypes/superTypeErasion.kt");
}
@Test
@TestMetadata("typeEnhancement.kt")
public void testTypeEnhancement() throws Exception {
@@ -27248,6 +27248,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
runTest("compiler/testData/codegen/box/platformTypes/kt14989.kt");
}
@Test
@TestMetadata("rawTypeWithNestedClass.kt")
public void testRawTypeWithNestedClass() throws Exception {
runTest("compiler/testData/codegen/box/platformTypes/rawTypeWithNestedClass.kt");
}
@Test
@TestMetadata("specializedMapFull.kt")
public void testSpecializedMapFull() throws Exception {
@@ -27260,6 +27266,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
runTest("compiler/testData/codegen/box/platformTypes/specializedMapPut.kt");
}
@Test
@TestMetadata("stopComputingOnInterdependentTypeParameters.kt")
public void testStopComputingOnInterdependentTypeParameters() throws Exception {
runTest("compiler/testData/codegen/box/platformTypes/stopComputingOnInterdependentTypeParameters.kt");
}
@Test
@TestMetadata("unsafeNullCheck.kt")
public void testUnsafeNullCheck() throws Exception {