JVM: Support instantiation of annotations with vararg parameters
when they are instantiated without argument. #KT-59033 Fixed
This commit is contained in:
+5
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user