mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
highlight diamonds as type parameter list (IDEA-156859)
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
class A<T> {}
|
||||
class Foo<K extends A<K>> {
|
||||
{
|
||||
Foo foo = new Foo<<error descr="Cannot use ''<>'' with anonymous inner classes"></error>>() {};
|
||||
Foo foo = new Foo<error descr="Cannot use ''<>'' with anonymous inner classes"><></error>() {};
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -4,6 +4,6 @@ class Foo<E extends List<String> & Runnable> {
|
||||
Foo() {}
|
||||
|
||||
{
|
||||
Foo foo = new Foo<<error descr="Cannot use ''<>'' with anonymous inner classes"></error>>() {};
|
||||
Foo foo = new Foo<error descr="Cannot use ''<>'' with anonymous inner classes"><></error>() {};
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -10,6 +10,6 @@ class Foo<E> {
|
||||
Foo(E e, E e1) {}
|
||||
|
||||
{
|
||||
Foo foo = new Foo<<error descr="Cannot use ''<>'' with anonymous inner classes"></error>>(new B.C(), new B.D()) {};
|
||||
Foo foo = new Foo<error descr="Cannot use ''<>'' with anonymous inner classes"><></error>(new B.C(), new B.D()) {};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user