[jboss-jira] [JBoss JIRA] (DROOLS-2506) Lexical scope for FEEL Function invocation

Matteo Mortari (JIRA) issues at jboss.org
Fri Apr 27 10:19:00 EDT 2018


Matteo Mortari created DROOLS-2506:
--------------------------------------

             Summary: Lexical scope for FEEL Function invocation
                 Key: DROOLS-2506
                 URL: https://issues.jboss.org/browse/DROOLS-2506
             Project: Drools
          Issue Type: Bug
          Components: dmn engine
            Reporter: Matteo Mortari
            Assignee: Matteo Mortari


A script like

{code:java}
{ myimport : { f1 : function() \"Hi\", x1 : function(name) f1() + \" \" + name }, r1 : myimport.x1(\"John\") }.r
{code}

shoudl evaluate to "Hi John" but the invocation of "myimport.x1" is not being evaluated with the correct lexical scope



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list