JVM: Support instantiation of annotations with vararg parameters
when they are instantiated without argument. #KT-59033 Fixed
This commit is contained in:
+6
@@ -178,6 +178,12 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
|
||||
public void testNestedAnnotationInstances() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/annotations/instances/nestedAnnotationInstances.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varargInAnnotationParameterInstantiation.kt")
|
||||
public void testVarargInAnnotationParameterInstantiation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/annotations/instances/varargInAnnotationParameterInstantiation.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
|
||||
+6
@@ -188,6 +188,12 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
|
||||
public void testNestedAnnotationInstances() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/annotations/instances/nestedAnnotationInstances.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varargInAnnotationParameterInstantiation.kt")
|
||||
public void testVarargInAnnotationParameterInstantiation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/annotations/instances/varargInAnnotationParameterInstantiation.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
|
||||
+6
@@ -174,6 +174,12 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
|
||||
public void testNestedAnnotationInstances() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/annotations/instances/nestedAnnotationInstances.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varargInAnnotationParameterInstantiation.kt")
|
||||
public void testVarargInAnnotationParameterInstantiation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/annotations/instances/varargInAnnotationParameterInstantiation.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
|
||||
+6
@@ -179,6 +179,12 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
|
||||
public void testNestedAnnotationInstances() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/annotations/instances/nestedAnnotationInstances.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varargInAnnotationParameterInstantiation.kt")
|
||||
public void testVarargInAnnotationParameterInstantiation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/annotations/instances/varargInAnnotationParameterInstantiation.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
|
||||
Reference in New Issue
Block a user