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
@@ -6,8 +6,8 @@ class Pos8 {
Foo<Integer> fi1 = new Foo<>(1);
Foo<Integer> fi2 = new Foo<Integer>(1);
Foo<Integer> fi3 = new <String> Foo<<error descr="Cannot use diamonds with explicit type parameters for constructor"></error>>(1);
Foo<Integer> fi3 = new <String> Foo<error descr="Cannot use diamonds with explicit type parameters for constructor"><></error>(1);
Foo<Integer> fi4 = new <String> Foo<Integer>(1);
Foo<Integer> fi5 = new <String, String> Foo<<error descr="Cannot use diamonds with explicit type parameters for constructor"></error>>(1);
Foo<Integer> fi5 = new <String, String> Foo<error descr="Cannot use diamonds with explicit type parameters for constructor"><></error>(1);
Foo<Integer> fi6 = new <String, String> Foo<Integer>(1);
}