Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.2.1
-
None
Description
A script obtained by explicit naming of parameters will not lead to properly evaluated scripts through curry(). Example:
final JexlScript base = jexl.createScript("var t = x + y + z; return t", "x", "y", "z"); final JexlScript script = base.curry(5); script.execute(context, 15, 25); // leads to an error
Culprit is evaluation of Closure which are not ASTJexlLambda.