IR KT-47483 handle 'Nothing' in array constructor call

This commit is contained in:
Dmitry Petrov
2021-12-17 10:50:51 +03:00
committed by teamcity
parent c9e9cbb62d
commit 0805916564
11 changed files with 64 additions and 5 deletions
@@ -537,6 +537,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/arrays/kt4357.kt");
}
@Test
@TestMetadata("kt47483.kt")
public void testKt47483() throws Exception {
runTest("compiler/testData/codegen/box/arrays/kt47483.kt");
}
@Test
@TestMetadata("kt503.kt")
public void testKt503() throws Exception {
@@ -319,6 +319,12 @@ public class JsLegacyPrimitiveArraysBoxTestGenerated extends AbstractJsLegacyPri
runTest("compiler/testData/codegen/box/arrays/kt4357.kt");
}
@Test
@TestMetadata("kt47483.kt")
public void testKt47483() throws Exception {
runTest("compiler/testData/codegen/box/arrays/kt47483.kt");
}
@Test
@TestMetadata("kt503.kt")
public void testKt503() throws Exception {
@@ -579,6 +579,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/arrays/kt4357.kt");
}
@Test
@TestMetadata("kt47483.kt")
public void testKt47483() throws Exception {
runTest("compiler/testData/codegen/box/arrays/kt47483.kt");
}
@Test
@TestMetadata("kt503.kt")
public void testKt503() throws Exception {
@@ -529,6 +529,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
runTest("compiler/testData/codegen/box/arrays/kt4357.kt");
}
@TestMetadata("kt47483.kt")
public void testKt47483() throws Exception {
runTest("compiler/testData/codegen/box/arrays/kt47483.kt");
}
@TestMetadata("kt503.kt")
public void testKt503() throws Exception {
runTest("compiler/testData/codegen/box/arrays/kt503.kt");