Balazs Zsoldos created JEXL-181:
-----------------------------------

             Summary: Cannot create inline Map with array or function call as 
the key
                 Key: JEXL-181
                 URL: https://issues.apache.org/jira/browse/JEXL-181
             Project: Commons JEXL
          Issue Type: Bug
    Affects Versions: 2.1.1
            Reporter: Balazs Zsoldos


It seems that inline maps can be created only if:

 - the keys are string literals or a numbers
 - the keys are variables

The followings throw exception:

{code}
{ ['1', '2'] : someValue }
{ myVar.callFunction() : someValue }
{code}



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

Reply via email to