Psi2ir: load single-value Java array annotation arguments correctly
#KT-47467 Fixed
This commit is contained in:
+6
@@ -184,6 +184,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/annotations/javaAnnotationOnSecondaryConstructorOfLocalClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaAnnotationWithSingleArrayArgument.kt")
|
||||
public void testJavaAnnotationWithSingleArrayArgument() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/annotations/javaAnnotationWithSingleArrayArgument.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaNegativePropertyAsAnnotationParameter.kt")
|
||||
public void testJavaNegativePropertyAsAnnotationParameter() throws Exception {
|
||||
|
||||
+6
@@ -184,6 +184,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
runTest("compiler/testData/codegen/box/annotations/javaAnnotationOnSecondaryConstructorOfLocalClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaAnnotationWithSingleArrayArgument.kt")
|
||||
public void testJavaAnnotationWithSingleArrayArgument() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/annotations/javaAnnotationWithSingleArrayArgument.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaNegativePropertyAsAnnotationParameter.kt")
|
||||
public void testJavaNegativePropertyAsAnnotationParameter() throws Exception {
|
||||
|
||||
Generated
+6
@@ -629,6 +629,12 @@ public class IrTextTestGenerated extends AbstractIrTextTest {
|
||||
runTest("compiler/testData/ir/irText/declarations/annotations/javaAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaAnnotationWithSingleArrayArgument.kt")
|
||||
public void testJavaAnnotationWithSingleArrayArgument() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/declarations/annotations/javaAnnotationWithSingleArrayArgument.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localDelegatedPropertiesWithAnnotations.kt")
|
||||
public void testLocalDelegatedPropertiesWithAnnotations() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user