Report error if repeated annotation is used with JVM target 1.6
#KT-12794
This commit is contained in:
+6
@@ -2094,6 +2094,12 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirDiagnosti
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/repeatable"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaRepeatableJvmTarget6.kt")
|
||||
public void testJavaRepeatableJvmTarget6() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/annotations/repeatable/javaRepeatableJvmTarget6.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaRepeatable_1_5.kt")
|
||||
public void testJavaRepeatable_1_5() throws Exception {
|
||||
|
||||
+6
@@ -2094,6 +2094,12 @@ public class FirOldFrontendDiagnosticsWithLightTreeTestGenerated extends Abstrac
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/annotations/repeatable"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaRepeatableJvmTarget6.kt")
|
||||
public void testJavaRepeatableJvmTarget6() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/annotations/repeatable/javaRepeatableJvmTarget6.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaRepeatable_1_5.kt")
|
||||
public void testJavaRepeatable_1_5() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user