You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Henri Biestro (Jira)" <ji...@apache.org> on 2021/06/07 13:15:06 UTC
[jira] [Closed] (JEXL-305) Script debugger produces incorrect
syntax
[ https://issues.apache.org/jira/browse/JEXL-305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Henri Biestro closed JEXL-305.
------------------------------
> 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
> Fix For: 3.2
>
>
> 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
(v8.3.4#803005)