K1/K2: add reproducers for KT-66229, KT-66243 and KT-66272

As all these issues aren't reproducible in K2, we may count them as fixed.
Related to KT-53478
#KT-66229 Fixed
#KT-66243 Fixed
#KT-66272 Fixed
This commit is contained in:
Mikhail Glukhikh
2024-03-01 15:16:27 +01:00
committed by Space Team
parent b43f69364b
commit 5ea6f20192
32 changed files with 596 additions and 0 deletions
@@ -3087,6 +3087,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
public static class Issues extends AbstractLightAnalysisModeTest {
@TestMetadata("kt66272.kt")
public void ignoreKt66272() {
runTest("compiler/testData/codegen/box/builderInference/issues/kt66272.kt");
}
private void runTest(String testDataFilePath) {
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM_IR, testDataFilePath);
}
@@ -3349,6 +3354,16 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
public void testKt64066() {
runTest("compiler/testData/codegen/box/builderInference/issues/kt64066.kt");
}
@TestMetadata("kt66229.kt")
public void testKt66229() {
runTest("compiler/testData/codegen/box/builderInference/issues/kt66229.kt");
}
@TestMetadata("kt66243.kt")
public void testKt66243() {
runTest("compiler/testData/codegen/box/builderInference/issues/kt66243.kt");
}
}
@TestMetadata("compiler/testData/codegen/box/builderInference/oneParameter")