IDEA-69645 (bad code is green: attribute value must be constant)

This commit is contained in:
Bas Leijdekkers
2011-05-16 19:37:27 +02:00
parent 72063660af
commit af4873b8aa
2 changed files with 10 additions and 4 deletions

View File

@@ -1,10 +1,14 @@
@interface Ann {
int i ();
String[] j();
}
class D {
int field;
@Ann(i=<error descr="Attribute value must be constant">field</error>) void foo () {}
@Ann(j={<error descr="Attribute value must be constant">null</error>}) void bar() {}
}
@interface ManistaDouble