Restrict retention for annotations with target EXPRESSION

#KT-13762 Fixed
This commit is contained in:
Dmitry Petrov
2018-07-16 18:43:04 +03:00
parent 70eaa0ec75
commit 5767f84c0e
48 changed files with 210 additions and 25 deletions
@@ -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");