You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Henri Biestro (JIRA)" <ji...@apache.org> on 2016/03/18 15:03:33 UTC

[jira] [Resolved] (JEXL-190) local function within context is not resolved if function resolver class without namespace is specified

     [ https://issues.apache.org/jira/browse/JEXL-190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henri Biestro resolved JEXL-190.
--------------------------------
    Resolution: Fixed

src/main/java/org/apache/commons/jexl3/internal/Interpreter.java
src/test/java/org/apache/commons/jexl3/MethodTest.java
src/site/xdoc/changes.xml

Committed revision 1735607.

> local function within context is not resolved if function resolver class without namespace is specified
> -------------------------------------------------------------------------------------------------------
>
>                 Key: JEXL-190
>                 URL: https://issues.apache.org/jira/browse/JEXL-190
>             Project: Commons JEXL
>          Issue Type: Bug
>    Affects Versions: 3.0
>            Reporter: Dmitri Blinov
>            Assignee: Henri Biestro
>
> {code}
> z = function(x) { return x + 1}; return z(1)
> {code} returns error unsolvable function/method 'z' while 
> {code}
> var z = function(x) { return x + 1}; return z(1)
> {code} returns 2



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)