Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-2506

Lexical scope for FEEL Function invocation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • dmn engine
    • None
    • 2018 Week 17-18
    • NEW
    • NEW

      A script like

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

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

            mmortari@redhat.com Matteo Mortari
            mmortari@redhat.com Matteo Mortari
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: