Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.2.1
-
None
-
None
Description
Executing the following
[[1,'a'], [2,'b'], [3]].collectEntries()
leads to:
groovy.lang.MissingMethodException: No signature of method: java.util.ArrayList.getKey() is applicable for argument types: () values: []
It should rather throw an IllegalArgumentException