[FE 1.0] Prohibit array literals inside nested objects of annotation classes
^KT-39041 ^KT-50749 Fixed
This commit is contained in:
committed by
teamcity
parent
c1575edca4
commit
139a800ff7
+12
@@ -1127,6 +1127,18 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
|
||||
runTest("compiler/testData/diagnostics/tests/annotations/annotationsOnNullableTypes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("arrayLiteralInAnnotationCompanion_after.kt")
|
||||
public void testArrayLiteralInAnnotationCompanion_after() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/annotations/arrayLiteralInAnnotationCompanion_after.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("arrayLiteralInAnnotationCompanion_before.kt")
|
||||
public void testArrayLiteralInAnnotationCompanion_before() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/annotations/arrayLiteralInAnnotationCompanion_before.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("atAnnotationResolve.kt")
|
||||
public void testAtAnnotationResolve() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user