correctly generate 'in' expressions with IntRange on RHS and a type other than Int on LHS

This commit is contained in:
Dmitry Jemerov
2015-03-04 19:45:49 +01:00
parent 1188be9070
commit 2835459920
3 changed files with 14 additions and 2 deletions
@@ -2130,6 +2130,12 @@ public class BlackBoxWithStdlibCodegenTestGenerated extends AbstractBlackBoxCode
doTestWithStdlib(fileName);
}
@TestMetadata("rangeContainsString.kt")
public void testRangeContainsString() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/ranges/rangeContainsString.kt");
doTestWithStdlib(fileName);
}
@TestMetadata("compiler/testData/codegen/boxWithStdlib/ranges/expression")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)