FIR: expect nullable type for elvis LHS

This commit is contained in:
pyos
2021-02-05 11:20:57 +01:00
committed by Dmitriy Novozhilov
parent 0e8f4294f0
commit 64c5608f31
13 changed files with 91 additions and 34 deletions
@@ -10015,6 +10015,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
runTest("compiler/testData/codegen/box/elvis/nullNullOk.kt");
}
@TestMetadata("ofNonNullableResultType.kt")
public void testOfNonNullableResultType() throws Exception {
runTest("compiler/testData/codegen/box/elvis/ofNonNullableResultType.kt");
}
@TestMetadata("primitive.kt")
public void testPrimitive() throws Exception {
runTest("compiler/testData/codegen/box/elvis/primitive.kt");
@@ -9500,6 +9500,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/elvis/nullNullOk.kt");
}
@TestMetadata("ofNonNullableResultType.kt")
public void testOfNonNullableResultType() throws Exception {
runTest("compiler/testData/codegen/box/elvis/ofNonNullableResultType.kt");
}
@TestMetadata("primitive.kt")
public void testPrimitive() throws Exception {
runTest("compiler/testData/codegen/box/elvis/primitive.kt");
@@ -9500,6 +9500,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/elvis/nullNullOk.kt");
}
@TestMetadata("ofNonNullableResultType.kt")
public void testOfNonNullableResultType() throws Exception {
runTest("compiler/testData/codegen/box/elvis/ofNonNullableResultType.kt");
}
@TestMetadata("primitive.kt")
public void testPrimitive() throws Exception {
runTest("compiler/testData/codegen/box/elvis/primitive.kt");
@@ -4549,6 +4549,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
runTest("compiler/testData/codegen/box/elvis/nullNullOk.kt");
}
@TestMetadata("ofNonNullableResultType.kt")
public void testOfNonNullableResultType() throws Exception {
runTest("compiler/testData/codegen/box/elvis/ofNonNullableResultType.kt");
}
@TestMetadata("primitive.kt")
public void testPrimitive() throws Exception {
runTest("compiler/testData/codegen/box/elvis/primitive.kt");