Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.8.6
-
None
Description
Next code fails (ArrayOutOfBoundException):
def log = {String msg, arg0 = null, arg1 = null, String level -> println "Doing $level $msg $arg0 $arg1" } def trace = log.rcurry('TRACE') trace('Trace world')
If I change parameters order (using "level" as first parameter) and use curry instead of rcurry this example works.