Restrict retention for annotations with target EXPRESSION
#KT-13762 Fixed
This commit is contained in:
@@ -1068,6 +1068,16 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
|
||||
runTest("compiler/testData/diagnostics/tests/annotations/RecursivelyIncorrectlyAnnotatedParameter.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("RetentionsOfAnnotationWithExpressionTarget_after.kt")
|
||||
public void testRetentionsOfAnnotationWithExpressionTarget_after() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/annotations/RetentionsOfAnnotationWithExpressionTarget_after.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("RetentionsOfAnnotationWithExpressionTarget_before.kt")
|
||||
public void testRetentionsOfAnnotationWithExpressionTarget_before() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/annotations/RetentionsOfAnnotationWithExpressionTarget_before.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("typeAnnotations.kt")
|
||||
public void testTypeAnnotations() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/annotations/typeAnnotations.kt");
|
||||
|
||||
Reference in New Issue
Block a user