You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "sdhalex (Jira)" <ji...@apache.org> on 2019/12/24 22:41:00 UTC

[jira] [Commented] (JEXL-259) Shorter ant-ish variables prevent longer ant-ish variables from being resolved properly

    [ https://issues.apache.org/jira/browse/JEXL-259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17003008#comment-17003008 ] 

sdhalex commented on JEXL-259:
------------------------------

[~dmitri_blinov] can u tell me, how did u do this by workaround ?  And one and a half year has passed, is there any real improvement to this issue? [~henrib]

> 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
(v8.3.4#803005)