IR: support smart cast values in RangeContainsLowering
#KT-44878 Fixed
This commit is contained in:
+6
@@ -28097,6 +28097,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/ranges/contains/rangeContainsString.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("smartCastOnBothEnds.kt")
|
||||
public void testSmartCastOnBothEnds() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ranges/contains/smartCastOnBothEnds.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("userDefinedContainsExtension.kt")
|
||||
public void testUserDefinedContainsExtension() throws Exception {
|
||||
|
||||
+6
@@ -28097,6 +28097,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
runTest("compiler/testData/codegen/box/ranges/contains/rangeContainsString.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("smartCastOnBothEnds.kt")
|
||||
public void testSmartCastOnBothEnds() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ranges/contains/smartCastOnBothEnds.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("userDefinedContainsExtension.kt")
|
||||
public void testUserDefinedContainsExtension() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user