[ 
https://issues.apache.org/jira/browse/JEXL-267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16582590#comment-16582590
 ] 

Dmitri Blinov commented on JEXL-267:
------------------------------------

Well, should we reflect this anywhere in the docs then? Now I see it states 
that the script ??can be created with named parameters which allow a later 
evaluation to be performed with arguments?? but I thought it is hint to 
JexlEngine.createScript() method
{code}
    public JexlScript createScript(JexlInfo info, String source, String[] names)
{code}

> Lambda evaluation
> -----------------
>
>                 Key: JEXL-267
>                 URL: https://issues.apache.org/jira/browse/JEXL-267
>             Project: Commons JEXL
>          Issue Type: Bug
>    Affects Versions: 3.1
>            Reporter: Dmitri Blinov
>            Assignee: Henri Biestro
>            Priority: Major
>             Fix For: 3.1
>
>
> The following script returns correct lambda {{function(s,v)\{42;}}}
> {code:java}
> var x = (s, v)->{42}{code}
> While the following script returns {{42}}
> {code:java}
> (s, v)->{42}{code}
> The expected result is the same lambda as in the first example



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to