mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 08:45:34 +07:00
Highlight misplaced reference parameter lists
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
import java.util.*;
|
||||
|
||||
class C {
|
||||
static final List EMPTY = new ArrayList(0);
|
||||
|
||||
void m() {
|
||||
List<String> list = C.<error descr="Reference parameters are not allowed here"><String></error>EMPTY;
|
||||
System.out.println(list);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user