mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-17 20:11:25 +07:00
IDEA-119396 (be picky about unfinished annotated new array expressions)
This commit is contained in:
@@ -104,7 +104,6 @@ class Outer {
|
||||
void arrays(String @TA ... docs) {
|
||||
@TA String @TA [] @TA [] docs1 = new @TA String @TA [2] @TA [2];
|
||||
@TA int @TA [] ints = new @TA int @TA [2];
|
||||
new Boolean @TA [2] <error descr="Annotations are not allowed here">@TA</error>;
|
||||
}
|
||||
|
||||
int @TA [] mixedArrays @TA [] <error descr="Annotations are not allowed here">@TA</error> = new int[0][0];
|
||||
|
||||
Reference in New Issue
Block a user