Ensure that BranchedValue for in/!in work well with boolean operations

This commit is contained in:
Dmitry Petrov
2017-06-30 15:58:34 +03:00
parent a3cd4f415a
commit 7175361c97
5 changed files with 51 additions and 0 deletions
@@ -13255,6 +13255,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest(fileName);
}
@TestMetadata("inRangeLiteralComposition.kt")
public void testInRangeLiteralComposition() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/contains/inRangeLiteralComposition.kt");
doTest(fileName);
}
@TestMetadata("inRangeOfComparable.kt")
public void testInRangeOfComparable() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/contains/inRangeOfComparable.kt");
@@ -13255,6 +13255,12 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
doTest(fileName);
}
@TestMetadata("inRangeLiteralComposition.kt")
public void testInRangeLiteralComposition() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/contains/inRangeLiteralComposition.kt");
doTest(fileName);
}
@TestMetadata("inRangeOfComparable.kt")
public void testInRangeOfComparable() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/contains/inRangeOfComparable.kt");