FIR: Fix loading Java annotations with Class[]-typed methods

This commit is contained in:
Denis.Zharkov
2021-02-02 13:27:59 +03:00
parent 5a55d56320
commit d901ceb734
12 changed files with 50 additions and 19 deletions
@@ -34513,6 +34513,12 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirDiagnosti
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/testsWithStdLib/reflection"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
}
@Test
@TestMetadata("classArrayInAnnotation.kt")
public void testClassArrayInAnnotation() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/reflection/classArrayInAnnotation.kt");
}
@Test
@TestMetadata("noReflectionInClassPath.kt")
public void testNoReflectionInClassPath() throws Exception {