Ensure that ranges are not created for in-Comparable-range-literal

#KT-6247 Fixed Target versions 1.1.4
This commit is contained in:
Dmitry Petrov
2017-06-30 16:09:01 +03:00
parent 7175361c97
commit b9c0ecf2b1
2 changed files with 11 additions and 0 deletions
@@ -1859,6 +1859,12 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest {
doTest(fileName);
}
@TestMetadata("inComparableRangeLiteral.kt")
public void testInComparableRangeLiteral() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/bytecodeText/ranges/inComparableRangeLiteral.kt");
doTest(fileName);
}
@TestMetadata("inNonMatchingRange.kt")
public void testInNonMatchingRange() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/bytecodeText/ranges/inNonMatchingRange.kt");