FIR: Change semantics for combination of safe calls and operators
^KT-41034 Fixed
This commit is contained in:
+30
@@ -41267,12 +41267,36 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/safeCall"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("augmentedAssigmentPlus.kt")
|
||||
public void testAugmentedAssigmentPlus() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/safeCall/augmentedAssigmentPlus.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("augmentedAssigmentPlusAssign.kt")
|
||||
public void testAugmentedAssigmentPlusAssign() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/safeCall/augmentedAssigmentPlusAssign.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericNull.kt")
|
||||
public void testGenericNull() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/safeCall/genericNull.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("incrementPostfix.kt")
|
||||
public void testIncrementPostfix() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/safeCall/incrementPostfix.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("incrementPrefix.kt")
|
||||
public void testIncrementPrefix() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/safeCall/incrementPrefix.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt1572.kt")
|
||||
public void testKt1572() throws Exception {
|
||||
@@ -41368,6 +41392,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
public void testSafeCallWithElvisFolding() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/safeCall/safeCallWithElvisFolding.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("withAssignment.kt")
|
||||
public void testWithAssignment() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/safeCall/withAssignment.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
|
||||
Reference in New Issue
Block a user