Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
This code:
def closure = { println it } closure debit: 30, credit: 40, debit: 50 def method(map) { println map } method debit: 30, credit: 40, debit: 50
produces this output:
[debit:50, credit:40] [debit:50, credit:40]
It should give a compile error.