[ 
https://issues.apache.org/jira/browse/JEXL-305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Henri Biestro resolved JEXL-305.
--------------------------------
    Resolution: Fixed

Thanks for the bug report; 
https://github.com/apache/commons-jexl/commit/68d1b317f38e49a6cad3c283ad05c7d79f29b490

> Script debugger produces incorrect syntax
> -----------------------------------------
>
>                 Key: JEXL-305
>                 URL: https://issues.apache.org/jira/browse/JEXL-305
>             Project: Commons JEXL
>          Issue Type: Bug
>    Affects Versions: 3.1
>            Reporter: Dmitri Blinov
>            Assignee: Henri Biestro
>            Priority: Minor
>
> Consider the following script
> {code:java}
> {while(false) {}; var x = 1;}{code}
> The script parses correctly, but the script debugger produces the following 
> code
> {code}
> {
>   while (false) {
>   }  var x = 1;
> }
> {code}
> Because the semicolon after the {{while}} is removed, the block syntax 
> becomes invalid



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to