K2: add a black box test to confirm KT-55705 now works properly

This commit is contained in:
Mikhail Glukhikh
2023-11-13 22:33:05 +01:00
committed by Space Team
parent f2ef41dbbd
commit 4b1368409d
20 changed files with 138 additions and 0 deletions
@@ -51176,6 +51176,12 @@ public class LLFirBlackBoxCodegenBasedTestGenerated extends AbstractLLFirBlackBo
runTest("compiler/testData/codegen/box/smartCasts/falseSmartCast.kt");
}
@Test
@TestMetadata("genericInheritanceWithNonGenericNoAmbiguity.kt")
public void testGenericInheritanceWithNonGenericNoAmbiguity() throws Exception {
runTest("compiler/testData/codegen/box/smartCasts/genericInheritanceWithNonGenericNoAmbiguity.kt");
}
@Test
@TestMetadata("genericIntersection.kt")
public void testGenericIntersection() throws Exception {
@@ -51176,6 +51176,12 @@ public class LLFirReversedBlackBoxCodegenBasedTestGenerated extends AbstractLLFi
runTest("compiler/testData/codegen/box/smartCasts/falseSmartCast.kt");
}
@Test
@TestMetadata("genericInheritanceWithNonGenericNoAmbiguity.kt")
public void testGenericInheritanceWithNonGenericNoAmbiguity() throws Exception {
runTest("compiler/testData/codegen/box/smartCasts/genericInheritanceWithNonGenericNoAmbiguity.kt");
}
@Test
@TestMetadata("genericIntersection.kt")
public void testGenericIntersection() throws Exception {