restore error on diamonds under 1.6 (IDEA-121377)

This commit is contained in:
Anna Kozlova
2014-02-28 20:07:10 +01:00
parent 0407c16b64
commit c2bee641c0
2 changed files with 3 additions and 3 deletions
@@ -27,7 +27,7 @@ class UnsupportedFeatures {
for (String s : args) { System.out.println(s); }
List<String> list =
new ArrayList<>();
new ArrayList<error descr="Diamond types are not supported at this language level"><></error>();
for (String s : list) {}
Arrays.asList("");