You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Balazs Zsoldos (JIRA)" <ji...@apache.org> on 2015/11/26 17:08:10 UTC

[jira] [Created] (JEXL-181) Cannot create inline Map with array or function call as the key

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)