K2: reproduce KT-65057

This commit is contained in:
Mikhail Glukhikh
2024-02-01 09:38:45 +01:00
committed by Space Team
parent 0a07f16896
commit c4d6554493
8 changed files with 111 additions and 0 deletions
@@ -19641,6 +19641,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/recursiveTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true);
}
@Test
@TestMetadata("complexTypeUnwrapping.kt")
public void testComplexTypeUnwrapping() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/recursiveTypes/complexTypeUnwrapping.kt");
}
@Test
@TestMetadata("kt61717.kt")
public void testKt61717() throws Exception {
@@ -19641,6 +19641,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/recursiveTypes"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true);
}
@Test
@TestMetadata("complexTypeUnwrapping.kt")
public void testComplexTypeUnwrapping() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/recursiveTypes/complexTypeUnwrapping.kt");
}
@Test
@TestMetadata("kt61717.kt")
public void testKt61717() throws Exception {