Revert: annotations: check error elements after annotation to rise annotation not expected here instead of some unpredictable warnings (IDEA-160106) (d4e7271498)

This commit is contained in:
Anna Kozlova
2016-09-15 20:53:42 +03:00
parent 2b616545d9
commit 8d3c33eb8c
4 changed files with 2 additions and 18 deletions
@@ -1,12 +0,0 @@
class Dummy {
public @interface Debug {
String value() default "[no comment]";
}
private static final class Constants {
private static final String INPUT = "Input";
}
<error descr="Annotations are not allowed here">@Dummy.Debug(Constants.INPUT)</error><EOLError descr="Identifier or type expected"></EOLError>
}