highlight diamonds as type parameter list (IDEA-156859)

This commit is contained in:
Anna Kozlova
2016-06-06 17:52:24 +03:00
parent 1032e663d7
commit 1fcb534fcb
15 changed files with 28 additions and 28 deletions
@@ -4,6 +4,6 @@ class Neg13 {
<T> Foo(T t) {}
}
Foo<Integer> fi1 = new <String, Integer> Foo<<error descr="Cannot use diamonds with explicit type parameters for constructor"></error>>("");
Foo<Integer> fi1 = new <String, Integer> Foo<error descr="Cannot use diamonds with explicit type parameters for constructor"><></error>("");
Foo<Integer> fi2 = new <error descr="Wrong number of type arguments: 2; required: 1"><String, Integer></error> Foo<Integer>("");
}