IR: support smart cast values in RangeContainsLowering

#KT-44878 Fixed
This commit is contained in:
Alexander Udalov
2021-02-19 22:17:29 +01:00
parent 820762ca16
commit acc2256de9
10 changed files with 95 additions and 15 deletions
@@ -23747,6 +23747,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
public static class Contains extends AbstractLightAnalysisModeTest {
@TestMetadata("smartCastOnBothEnds.kt")
public void ignoreSmartCastOnBothEnds() throws Exception {
runTest("compiler/testData/codegen/box/ranges/contains/smartCastOnBothEnds.kt");
}
private void runTest(String testDataFilePath) throws Exception {
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
}