Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.1-beta-2
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
We can omit parentheses for top-level statements.
For instance, we can do:
println "foo"
foo.bar 1, 2, 3
But we can't omit the parentheses for named arguments.
The purpose of this feature request is to support things like:
monster.move x: 5.meters, y: 10.meters
fund.compare with:bench
credit account:"1234", amount:500.euros