JVM: Support instantiation of annotations with vararg parameters

when they are instantiated without argument.
 #KT-59033 Fixed
This commit is contained in:
Ilmir Usmanov
2023-06-02 15:38:38 +02:00
committed by teamcity
parent 67090ff10a
commit 95662234d0
17 changed files with 139 additions and 8 deletions
@@ -425,6 +425,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/annotations/instances/nestedAnnotationInstances.kt");
}
@TestMetadata("varargInAnnotationParameterInstantiation.kt")
public void ignoreVarargInAnnotationParameterInstantiation() throws Exception {
runTest("compiler/testData/codegen/box/annotations/instances/varargInAnnotationParameterInstantiation.kt");
}
private void runTest(String testDataFilePath) throws Exception {
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
}