mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
highlight diamonds as type parameter list (IDEA-156859)
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ class Neg12 {
|
||||
<T> Foo(T t) {}
|
||||
}
|
||||
|
||||
Foo<Integer> fi1 = new <String> Foo<<error descr="Cannot use diamonds with explicit type parameters for constructor"></error>>(1);
|
||||
Foo<Integer> fi1 = new <String> Foo<error descr="Cannot use diamonds with explicit type parameters for constructor"><></error>(1);
|
||||
Foo<Integer> fi2 = new <<error descr="Actual type argument and inferred type contradict each other">String</error>> Foo<Integer>(1);
|
||||
Foo<Integer> fi3 = new Foo<Integer>(1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user