If at least one of the range bounds is "pure", order doesn't matter

This commit is contained in:
Dmitry Petrov
2017-07-07 13:07:29 +03:00
parent 22e12dc139
commit ad80c3cd7f
3 changed files with 22 additions and 3 deletions
@@ -1912,6 +1912,12 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/bytecodeText/ranges/inUntil.kt");
doTest(fileName);
}
@TestMetadata("noSwap2ForConstLongRangeTo.kt")
public void testNoSwap2ForConstLongRangeTo() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/bytecodeText/ranges/noSwap2ForConstLongRangeTo.kt");
doTest(fileName);
}
}
@TestMetadata("compiler/testData/codegen/bytecodeText/statements")