Report error on class named Container inside repeatable annotation
#KT-12794 #KT-47971
This commit is contained in:
+12
@@ -2177,6 +2177,18 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirDiagnosti
|
||||
public void testKotlinRepeatable_1_6() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/annotations/repeatable/kotlinRepeatable_1_6.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedClassContainer_1_5.kt")
|
||||
public void testNestedClassContainer_1_5() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/annotations/repeatable/nestedClassContainer_1_5.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedClassContainer_1_6.kt")
|
||||
public void testNestedClassContainer_1_6() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/annotations/repeatable/nestedClassContainer_1_6.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
|
||||
+12
@@ -2177,6 +2177,18 @@ public class FirOldFrontendDiagnosticsWithLightTreeTestGenerated extends Abstrac
|
||||
public void testKotlinRepeatable_1_6() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/annotations/repeatable/kotlinRepeatable_1_6.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedClassContainer_1_5.kt")
|
||||
public void testNestedClassContainer_1_5() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/annotations/repeatable/nestedClassContainer_1_5.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedClassContainer_1_6.kt")
|
||||
public void testNestedClassContainer_1_6() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/annotations/repeatable/nestedClassContainer_1_6.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
|
||||
Reference in New Issue
Block a user