diff --git a/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/LLFirBlackBoxCodegenBasedTestGenerated.java b/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/LLFirBlackBoxCodegenBasedTestGenerated.java index 54c4a56a303..61714626497 100644 --- a/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/LLFirBlackBoxCodegenBasedTestGenerated.java +++ b/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/LLFirBlackBoxCodegenBasedTestGenerated.java @@ -1022,6 +1022,12 @@ public class LLFirBlackBoxCodegenBasedTestGenerated extends AbstractLLFirBlackBo runTest("compiler/testData/codegen/box/arrays/constantArrayOfAny.kt"); } + @Test + @TestMetadata("emptyArrayDesugaring.kt") + public void testEmptyArrayDesugaring() { + runTest("compiler/testData/codegen/box/arrays/emptyArrayDesugaring.kt"); + } + @Test @TestMetadata("forEachBooleanArray.kt") public void testForEachBooleanArray() { diff --git a/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/LLFirReversedBlackBoxCodegenBasedTestGenerated.java b/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/LLFirReversedBlackBoxCodegenBasedTestGenerated.java index ed14c608498..2514a3ce129 100644 --- a/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/LLFirReversedBlackBoxCodegenBasedTestGenerated.java +++ b/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/LLFirReversedBlackBoxCodegenBasedTestGenerated.java @@ -1022,6 +1022,12 @@ public class LLFirReversedBlackBoxCodegenBasedTestGenerated extends AbstractLLFi runTest("compiler/testData/codegen/box/arrays/constantArrayOfAny.kt"); } + @Test + @TestMetadata("emptyArrayDesugaring.kt") + public void testEmptyArrayDesugaring() { + runTest("compiler/testData/codegen/box/arrays/emptyArrayDesugaring.kt"); + } + @Test @TestMetadata("forEachBooleanArray.kt") public void testForEachBooleanArray() { diff --git a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeBlackBoxCodegenTestGenerated.java b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeBlackBoxCodegenTestGenerated.java index ede1a573476..8c32e7a7fea 100644 --- a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeBlackBoxCodegenTestGenerated.java +++ b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeBlackBoxCodegenTestGenerated.java @@ -1017,6 +1017,12 @@ public class FirLightTreeBlackBoxCodegenTestGenerated extends AbstractFirLightTr runTest("compiler/testData/codegen/box/arrays/constantArrayOfAny.kt"); } + @Test + @TestMetadata("emptyArrayDesugaring.kt") + public void testEmptyArrayDesugaring() { + runTest("compiler/testData/codegen/box/arrays/emptyArrayDesugaring.kt"); + } + @Test @TestMetadata("forEachBooleanArray.kt") public void testForEachBooleanArray() { diff --git a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeBlackBoxCodegenWithIrFakeOverrideGeneratorTestGenerated.java b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeBlackBoxCodegenWithIrFakeOverrideGeneratorTestGenerated.java index 367657e2f7d..79fa24d43d4 100644 --- a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeBlackBoxCodegenWithIrFakeOverrideGeneratorTestGenerated.java +++ b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeBlackBoxCodegenWithIrFakeOverrideGeneratorTestGenerated.java @@ -1017,6 +1017,12 @@ public class FirLightTreeBlackBoxCodegenWithIrFakeOverrideGeneratorTestGenerated runTest("compiler/testData/codegen/box/arrays/constantArrayOfAny.kt"); } + @Test + @TestMetadata("emptyArrayDesugaring.kt") + public void testEmptyArrayDesugaring() { + runTest("compiler/testData/codegen/box/arrays/emptyArrayDesugaring.kt"); + } + @Test @TestMetadata("forEachBooleanArray.kt") public void testForEachBooleanArray() { diff --git a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirPsiBlackBoxCodegenTestGenerated.java b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirPsiBlackBoxCodegenTestGenerated.java index 14f8bf0a7f2..6e6cb9cd269 100644 --- a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirPsiBlackBoxCodegenTestGenerated.java +++ b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirPsiBlackBoxCodegenTestGenerated.java @@ -1017,6 +1017,12 @@ public class FirPsiBlackBoxCodegenTestGenerated extends AbstractFirPsiBlackBoxCo runTest("compiler/testData/codegen/box/arrays/constantArrayOfAny.kt"); } + @Test + @TestMetadata("emptyArrayDesugaring.kt") + public void testEmptyArrayDesugaring() { + runTest("compiler/testData/codegen/box/arrays/emptyArrayDesugaring.kt"); + } + @Test @TestMetadata("forEachBooleanArray.kt") public void testForEachBooleanArray() { diff --git a/compiler/ir/backend.jvm/lower/src/org/jetbrains/kotlin/backend/jvm/lower/VarargLowering.kt b/compiler/ir/backend.jvm/lower/src/org/jetbrains/kotlin/backend/jvm/lower/VarargLowering.kt index 9096affe8e0..2c9f6cd258d 100644 --- a/compiler/ir/backend.jvm/lower/src/org/jetbrains/kotlin/backend/jvm/lower/VarargLowering.kt +++ b/compiler/ir/backend.jvm/lower/src/org/jetbrains/kotlin/backend/jvm/lower/VarargLowering.kt @@ -113,6 +113,4 @@ internal fun IrFunction.isArrayOf(): Boolean { valueParameters[0].isVararg } -internal fun IrFunction.isEmptyArray(): Boolean = - name.asString() == "emptyArray" && - (parent as? IrPackageFragment)?.packageFqName == StandardNames.BUILT_INS_PACKAGE_FQ_NAME \ No newline at end of file +internal fun IrFunction.isEmptyArray(): Boolean = isTopLevelInPackage("emptyArray", StandardNames.BUILT_INS_PACKAGE_FQ_NAME) \ No newline at end of file diff --git a/compiler/testData/codegen/box/annotations/instances/annotationInstances.jvm_abi.txt b/compiler/testData/codegen/box/annotations/instances/annotationInstances.jvm_abi.txt deleted file mode 100644 index 2488ddf51c3..00000000000 --- a/compiler/testData/codegen/box/annotations/instances/annotationInstances.jvm_abi.txt +++ /dev/null @@ -1,26 +0,0 @@ -MODULE main - CLASS AnnotationInstancesKt.class - Annotation: class.invisibleAnnotations - K1 - @Lkotlin/jvm/internal/SourceDebugExtension;( value: #{ SMAP - annotationInstances.kt - Kotlin - *S Kotlin - *F - + 1 annotationInstances.kt - AnnotationInstancesKt - + 2 ArrayIntrinsics.kt - kotlin/ArrayIntrinsicsKt - *L - 1#1,76:1 - 26#2:77 - *S KotlinDebug - *F - + 1 annotationInstances.kt - AnnotationInstancesKt - *L - 51#1:77 - *E - } ) - K2 - --- diff --git a/compiler/testData/codegen/box/annotations/instances/annotationInstances.kt b/compiler/testData/codegen/box/annotations/instances/annotationInstances.kt index 830ea1377bf..61339ba15a2 100644 --- a/compiler/testData/codegen/box/annotations/instances/annotationInstances.kt +++ b/compiler/testData/codegen/box/annotations/instances/annotationInstances.kt @@ -6,8 +6,6 @@ // WITH_STDLIB // !LANGUAGE: +InstantiationOfAnnotationClasses -// JVM_ABI_K1_K2_DIFF: KT-62465 - // note: taken from ../parameters.kt and ../parametersWithPrimitiveValues.kt import kotlin.reflect.KClass import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/annotations/instances/annotationToString.jvm_abi.txt b/compiler/testData/codegen/box/annotations/instances/annotationToString.jvm_abi.txt deleted file mode 100644 index 54446e72b46..00000000000 --- a/compiler/testData/codegen/box/annotations/instances/annotationToString.jvm_abi.txt +++ /dev/null @@ -1,26 +0,0 @@ -MODULE main - CLASS test/AnnotationToStringKt.class - Annotation: class.invisibleAnnotations - K1 - @Lkotlin/jvm/internal/SourceDebugExtension;( value: #{ SMAP - annotationToString.kt - Kotlin - *S Kotlin - *F - + 1 annotationToString.kt - test/AnnotationToStringKt - + 2 ArrayIntrinsics.kt - kotlin/ArrayIntrinsicsKt - *L - 1#1,62:1 - 26#2:63 - *S KotlinDebug - *F - + 1 annotationToString.kt - test/AnnotationToStringKt - *L - 51#1:63 - *E - } ) - K2 - --- diff --git a/compiler/testData/codegen/box/annotations/instances/annotationToString.kt b/compiler/testData/codegen/box/annotations/instances/annotationToString.kt index 151f7c88674..93d56b66fcf 100644 --- a/compiler/testData/codegen/box/annotations/instances/annotationToString.kt +++ b/compiler/testData/codegen/box/annotations/instances/annotationToString.kt @@ -10,7 +10,6 @@ // WITH_STDLIB // !LANGUAGE: +InstantiationOfAnnotationClasses -// JVM_ABI_K1_K2_DIFF: KT-62465 package test diff --git a/compiler/testData/codegen/box/arrays/emptyArrayDesugaring.kt b/compiler/testData/codegen/box/arrays/emptyArrayDesugaring.kt new file mode 100644 index 00000000000..a30951ddb51 --- /dev/null +++ b/compiler/testData/codegen/box/arrays/emptyArrayDesugaring.kt @@ -0,0 +1,12 @@ +// WITH_STDLIB +// TARGET_BACKEND: JVM_IR + +// Checks if emptyArray call has been lowered + +fun box(): String { + emptyArray() + return "OK" +} + +// CHECK_BYTECODE_TEXT +// 0 ISTORE 0 \ No newline at end of file diff --git a/compiler/testData/codegen/box/arrays/kt17134.jvm_abi.txt b/compiler/testData/codegen/box/arrays/kt17134.jvm_abi.txt deleted file mode 100644 index cb4715c1f8f..00000000000 --- a/compiler/testData/codegen/box/arrays/kt17134.jvm_abi.txt +++ /dev/null @@ -1,26 +0,0 @@ -MODULE main - CLASS Kt17134Kt.class - Annotation: class.invisibleAnnotations - K1 - @Lkotlin/jvm/internal/SourceDebugExtension;( value: #{ SMAP - kt17134.kt - Kotlin - *S Kotlin - *F - + 1 kt17134.kt - Kt17134Kt - + 2 ArrayIntrinsics.kt - kotlin/ArrayIntrinsicsKt - *L - 1#1,19:1 - 26#2:20 - *S KotlinDebug - *F - + 1 kt17134.kt - Kt17134Kt - *L - 16#1:20 - *E - } ) - K2 - --- diff --git a/compiler/testData/codegen/box/arrays/kt17134.kt b/compiler/testData/codegen/box/arrays/kt17134.kt index 11d7b999cd5..fe885c8738f 100644 --- a/compiler/testData/codegen/box/arrays/kt17134.kt +++ b/compiler/testData/codegen/box/arrays/kt17134.kt @@ -1,8 +1,6 @@ // WITH_STDLIB // TARGET_BACKEND: JVM -// JVM_ABI_K1_K2_DIFF: KT-62465 - object A { @JvmStatic fun main(args: Array) { val b = arrayOf(arrayOf("")) diff --git a/compiler/testData/codegen/box/inlineArgsInPlace/arrayDequeRemoveAll.jvm_abi.txt b/compiler/testData/codegen/box/inlineArgsInPlace/arrayDequeRemoveAll.jvm_abi.txt index 1fc7f1a391b..4d822bd56ea 100644 --- a/compiler/testData/codegen/box/inlineArgsInPlace/arrayDequeRemoveAll.jvm_abi.txt +++ b/compiler/testData/codegen/box/inlineArgsInPlace/arrayDequeRemoveAll.jvm_abi.txt @@ -7,54 +7,3 @@ MODULE main : kotlin/Int K2 value: kotlin/Int - Annotation: class.invisibleAnnotations - K1 - @Lkotlin/jvm/internal/SourceDebugExtension;( value: #{ SMAP - arrayDequeRemoveAll.kt - Kotlin - *S Kotlin - *F - + 1 arrayDequeRemoveAll.kt - ArrayDeque - + 2 ArraysJVM.kt - kotlin/collections/ArraysKt__ArraysJVMKt - + 3 ArrayIntrinsics.kt - kotlin/ArrayIntrinsicsKt - *L - 1#1,114:1 - 53#1,48:117 - 37#2,2:115 - 26#3:165 - *S KotlinDebug - *F - + 1 arrayDequeRemoveAll.kt - ArrayDeque - *L - 50#1:117,48 - 13#1:115,2 - 104#1:165 - *E - } ) - K2 - @Lkotlin/jvm/internal/SourceDebugExtension;( value: #{ SMAP - arrayDequeRemoveAll.kt - Kotlin - *S Kotlin - *F - + 1 arrayDequeRemoveAll.kt - ArrayDeque - + 2 ArraysJVM.kt - kotlin/collections/ArraysKt__ArraysJVMKt - *L - 1#1,114:1 - 53#1,48:117 - 37#2,2:115 - *S KotlinDebug - *F - + 1 arrayDequeRemoveAll.kt - ArrayDeque - *L - 50#1:117,48 - 13#1:115,2 - *E - } ) diff --git a/compiler/testData/codegen/box/inlineArgsInPlace/arrayDequeRemoveAll.kt b/compiler/testData/codegen/box/inlineArgsInPlace/arrayDequeRemoveAll.kt index 6458dd07e76..45ceed9ccbb 100644 --- a/compiler/testData/codegen/box/inlineArgsInPlace/arrayDequeRemoveAll.kt +++ b/compiler/testData/codegen/box/inlineArgsInPlace/arrayDequeRemoveAll.kt @@ -1,5 +1,5 @@ // WITH_STDLIB -// JVM_ABI_K1_K2_DIFF: KT-62464, KT-63984 +// JVM_ABI_K1_K2_DIFF: KT-63984 @Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE") class ArrayDeque : AbstractMutableList { diff --git a/compiler/testData/codegen/box/jvmOverloads/noRedundantVarargs.jvm_abi.txt b/compiler/testData/codegen/box/jvmOverloads/noRedundantVarargs.jvm_abi.txt deleted file mode 100644 index 48c3b50285e..00000000000 --- a/compiler/testData/codegen/box/jvmOverloads/noRedundantVarargs.jvm_abi.txt +++ /dev/null @@ -1,26 +0,0 @@ -MODULE main - CLASS TestKt.class - Annotation: class.invisibleAnnotations - K1 - @Lkotlin/jvm/internal/SourceDebugExtension;( value: #{ SMAP - test.kt - Kotlin - *S Kotlin - *F - + 1 test.kt - TestKt - + 2 ArrayIntrinsics.kt - kotlin/ArrayIntrinsicsKt - *L - 1#1,28:1 - 26#2:29 - *S KotlinDebug - *F - + 1 test.kt - TestKt - *L - 9#1:29 - *E - } ) - K2 - --- diff --git a/compiler/testData/codegen/box/jvmOverloads/noRedundantVarargs.kt b/compiler/testData/codegen/box/jvmOverloads/noRedundantVarargs.kt index 0edf109fa18..7873e74bed2 100644 --- a/compiler/testData/codegen/box/jvmOverloads/noRedundantVarargs.kt +++ b/compiler/testData/codegen/box/jvmOverloads/noRedundantVarargs.kt @@ -1,7 +1,6 @@ // TARGET_BACKEND: JVM // WITH_STDLIB // FULL_JDK -// JVM_ABI_K1_K2_DIFF: KT-62465 // FILE: test.kt diff --git a/compiler/testData/codegen/box/script/scriptPropFromAnotherModuleK2.jvm_abi.txt b/compiler/testData/codegen/box/script/scriptPropFromAnotherModuleK2.jvm_abi.txt index 8630d9341ac..9cb3be8438e 100644 --- a/compiler/testData/codegen/box/script/scriptPropFromAnotherModuleK2.jvm_abi.txt +++ b/compiler/testData/codegen/box/script/scriptPropFromAnotherModuleK2.jvm_abi.txt @@ -15,29 +15,3 @@ MODULE lib [] K2 [kotlin/script/templates/standard/ScriptTemplateWithArgs] -MODULE main - CLASS TestKt.class - Annotation: class.invisibleAnnotations - K1 - @Lkotlin/jvm/internal/SourceDebugExtension;( value: #{ SMAP - test.kt - Kotlin - *S Kotlin - *F - + 1 test.kt - TestKt - + 2 ArrayIntrinsics.kt - kotlin/ArrayIntrinsicsKt - *L - 1#1,29:1 - 26#2:30 - *S KotlinDebug - *F - + 1 test.kt - TestKt - *L - 22#1:30 - *E - } ) - K2 - --- diff --git a/compiler/testData/codegen/box/script/scriptPropFromAnotherModuleK2.kt b/compiler/testData/codegen/box/script/scriptPropFromAnotherModuleK2.kt index 9c2902783f2..cfa994b000b 100644 --- a/compiler/testData/codegen/box/script/scriptPropFromAnotherModuleK2.kt +++ b/compiler/testData/codegen/box/script/scriptPropFromAnotherModuleK2.kt @@ -3,7 +3,7 @@ // IGNORE_LIGHT_ANALYSIS // !LANGUAGE: -SkipStandaloneScriptsInSourceRoots // WITH_STDLIB -// JVM_ABI_K1_K2_DIFF: KT-63963, KT-63960, KT-62465 +// JVM_ABI_K1_K2_DIFF: KT-63963, KT-63960 // Although this test works in K1 just fine, it is named with the suffix K2 to show that the demonstrated method is the only one // available so far to call a script from another module. diff --git a/compiler/testData/codegen/box/script/syntheticJavaPropertyInScript.jvm_abi.txt b/compiler/testData/codegen/box/script/syntheticJavaPropertyInScript.jvm_abi.txt index 8663276fe66..deee064efd6 100644 --- a/compiler/testData/codegen/box/script/syntheticJavaPropertyInScript.jvm_abi.txt +++ b/compiler/testData/codegen/box/script/syntheticJavaPropertyInScript.jvm_abi.txt @@ -1,29 +1,4 @@ MODULE main - CLASS MainKt.class - Annotation: class.invisibleAnnotations - K1 - @Lkotlin/jvm/internal/SourceDebugExtension;( value: #{ SMAP - main.kt - Kotlin - *S Kotlin - *F - + 1 main.kt - MainKt - + 2 ArrayIntrinsics.kt - kotlin/ArrayIntrinsicsKt - *L - 1#1,50:1 - 26#2:51 - *S KotlinDebug - *F - + 1 main.kt - MainKt - *L - 42#1:51 - *E - } ) - K2 - --- CLASS Script.class CLASS METADATA K1 diff --git a/compiler/testData/codegen/box/script/syntheticJavaPropertyInScript.kt b/compiler/testData/codegen/box/script/syntheticJavaPropertyInScript.kt index 11b55f3aba3..98debc5f24b 100644 --- a/compiler/testData/codegen/box/script/syntheticJavaPropertyInScript.kt +++ b/compiler/testData/codegen/box/script/syntheticJavaPropertyInScript.kt @@ -1,6 +1,6 @@ // TARGET_BACKEND: JVM_IR // IGNORE_LIGHT_ANALYSIS -// JVM_ABI_K1_K2_DIFF: KT-62465, KT-63960 +// JVM_ABI_K1_K2_DIFF: KT-63960 // LANGUAGE: +ReferencesToSyntheticJavaProperties // LANGUAGE: -SkipStandaloneScriptsInSourceRoots // WITH_STDLIB diff --git a/compiler/testData/codegen/boxInline/property/fromObject.kt b/compiler/testData/codegen/boxInline/property/fromObject.kt index 5b53840eeeb..48142416b29 100644 --- a/compiler/testData/codegen/boxInline/property/fromObject.kt +++ b/compiler/testData/codegen/boxInline/property/fromObject.kt @@ -1,5 +1,5 @@ // WITH_STDLIB -// JVM_ABI_K1_K2_DIFF: KT-62465 +// JVM_ABI_K1_K2_DIFF: KT-66000 // FILE: 1.kt package test diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/JvmAbiConsistencyTestBoxGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/JvmAbiConsistencyTestBoxGenerated.java index 8748ff70ec2..0c3da8b5e21 100644 --- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/JvmAbiConsistencyTestBoxGenerated.java +++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/JvmAbiConsistencyTestBoxGenerated.java @@ -1017,6 +1017,12 @@ public class JvmAbiConsistencyTestBoxGenerated extends AbstractJvmAbiConsistency runTest("compiler/testData/codegen/box/arrays/constantArrayOfAny.kt"); } + @Test + @TestMetadata("emptyArrayDesugaring.kt") + public void testEmptyArrayDesugaring() { + runTest("compiler/testData/codegen/box/arrays/emptyArrayDesugaring.kt"); + } + @Test @TestMetadata("forEachBooleanArray.kt") public void testForEachBooleanArray() { diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenTestGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenTestGenerated.java index 885a202cfb3..65ac99a0a33 100644 --- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenTestGenerated.java +++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenTestGenerated.java @@ -1017,6 +1017,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes runTest("compiler/testData/codegen/box/arrays/constantArrayOfAny.kt"); } + @Test + @TestMetadata("emptyArrayDesugaring.kt") + public void testEmptyArrayDesugaring() { + runTest("compiler/testData/codegen/box/arrays/emptyArrayDesugaring.kt"); + } + @Test @TestMetadata("forEachBooleanArray.kt") public void testForEachBooleanArray() { diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenWithIrInlinerTestGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenWithIrInlinerTestGenerated.java index 49bb55e669a..fdab3be2066 100644 --- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenWithIrInlinerTestGenerated.java +++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenWithIrInlinerTestGenerated.java @@ -1017,6 +1017,12 @@ public class IrBlackBoxCodegenWithIrInlinerTestGenerated extends AbstractIrBlack runTest("compiler/testData/codegen/box/arrays/constantArrayOfAny.kt"); } + @Test + @TestMetadata("emptyArrayDesugaring.kt") + public void testEmptyArrayDesugaring() { + runTest("compiler/testData/codegen/box/arrays/emptyArrayDesugaring.kt"); + } + @Test @TestMetadata("forEachBooleanArray.kt") public void testForEachBooleanArray() { diff --git a/compiler/tests-gen/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java b/compiler/tests-gen/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java index 90941599ec2..a345fb21a9c 100644 --- a/compiler/tests-gen/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java +++ b/compiler/tests-gen/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java @@ -894,6 +894,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes runTest("compiler/testData/codegen/box/arrays/constantArrayOfAny.kt"); } + @TestMetadata("emptyArrayDesugaring.kt") + public void testEmptyArrayDesugaring() { + runTest("compiler/testData/codegen/box/arrays/emptyArrayDesugaring.kt"); + } + @TestMetadata("forEachBooleanArray.kt") public void testForEachBooleanArray() { runTest("compiler/testData/codegen/box/arrays/forEachBooleanArray.kt");