[
https://issues.apache.org/jira/browse/JEXL-259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dmitri Blinov closed JEXL-259.
------------------------------
Resolution: Workaround
Fix Version/s: 3.1
I have worked this out for my case, and I think we can close this issue, as
further improvements to ant-ish variables, if any, could be made under separate
task. For now, may be its worth mentioning somewhere in documentation that such
variables have its limitations in naming
> Shorter ant-ish variables prevent longer ant-ish variables from being
> resolved properly
> ---------------------------------------------------------------------------------------
>
> Key: JEXL-259
> URL: https://issues.apache.org/jira/browse/JEXL-259
> Project: Commons JEXL
> Issue Type: Bug
> Affects Versions: 3.1
> Reporter: Dmitri Blinov
> Priority: Major
> Fix For: 3.1
>
>
> The following script is evaluated successfully
> {code}
> a.b.c = 2; a.b = 1; return a.b
> {code}
> While the following scripts are terminated with error {{unsolvable property
> 'c'}}
> {code}
> a.b = 1; a.b.c = 2; return a.b
> {code}
> {code}
> a.b.c = 2; a.b = 1; return a.b.c
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)