KT-52743 IR: Fix null checks in Elvis operators

This commit is contained in:
Pavel Mikhailovskii
2022-06-20 18:51:46 +02:00
committed by teamcity
parent ed97e73129
commit 3766698081
11 changed files with 60 additions and 2 deletions
@@ -32491,6 +32491,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/safeCall/kt52580.kt");
}
@Test
@TestMetadata("kt52743.kt")
public void testKt52743() throws Exception {
runTest("compiler/testData/codegen/box/safeCall/kt52743.kt");
}
@Test
@TestMetadata("primitive.kt")
public void testPrimitive() throws Exception {
@@ -32593,6 +32593,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/safeCall/kt52580.kt");
}
@Test
@TestMetadata("kt52743.kt")
public void testKt52743() throws Exception {
runTest("compiler/testData/codegen/box/safeCall/kt52743.kt");
}
@Test
@TestMetadata("primitive.kt")
public void testPrimitive() throws Exception {
@@ -29161,6 +29161,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
runTest("compiler/testData/codegen/box/safeCall/kt52580.kt");
}
@TestMetadata("kt52743.kt")
public void testKt52743() throws Exception {
runTest("compiler/testData/codegen/box/safeCall/kt52743.kt");
}
@TestMetadata("primitive.kt")
public void testPrimitive() throws Exception {
runTest("compiler/testData/codegen/box/safeCall/primitive.kt");