Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.6.1.M1
-
Fix Version/s: None
-
Component/s: Compiler Integration, Editor
-
Labels:None
-
Number of attachments :
Description
The following script:
values(["x": "y"]) def values(Map<String, String>... args) { println args }
produces the following error:
Map is a raw type. References to generic type Map<K,V> should be parameterized
which appears at line 0.
This also occurs for Set. As the type is parameterized, this error should not occur. Also, there seems no way to @SuppressWarnings this away.