commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Balazs Zsoldos (JIRA)" <j...@apache.org>
Subject [jira] [Created] (JEXL-181) Cannot create inline Map with array or function call as the key
Date Thu, 26 Nov 2015 16:08:10 GMT
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)

Mime
View raw message