IDEA-93208 (highlight incorrectly placed annotations)

This commit is contained in:
Roman Shevchenko
2012-10-19 16:41:24 +02:00
parent 188101d81c
commit 4279897e22
4 changed files with 40 additions and 14 deletions

View File

@@ -0,0 +1,9 @@
@interface Anno { }
abstract class C {
abstract void f();
void m() {
<error descr="Annotations are not allowed here">@Anno</error> f();
}
}