Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.5.6
-
None
-
None
Description
The following script:
def meth(Closure cl = null) { println '1' meth([:], cl) } def meth(Map args = [:], Closure cl = null) { println '2' println args } meth()
prints
2 null
If I remove the first method it prints:
2 [:]