Psi2ir: load single-value Java array annotation arguments correctly

#KT-47467 Fixed
This commit is contained in:
Alexander Udalov
2021-07-02 21:01:05 +02:00
parent 269f83f86e
commit 113632c49c
10 changed files with 374 additions and 1 deletions
@@ -167,6 +167,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/annotations/javaAnnotationOnSecondaryConstructorOfLocalClass.kt");
}
@TestMetadata("javaAnnotationWithSingleArrayArgument.kt")
public void testJavaAnnotationWithSingleArrayArgument() throws Exception {
runTest("compiler/testData/codegen/box/annotations/javaAnnotationWithSingleArrayArgument.kt");
}
@TestMetadata("javaNegativePropertyAsAnnotationParameter.kt")
public void testJavaNegativePropertyAsAnnotationParameter() throws Exception {
runTest("compiler/testData/codegen/box/annotations/javaNegativePropertyAsAnnotationParameter.kt");