[prev in list] [next in list] [prev in thread] [next in thread]
List: jakarta-commons-dev
Subject: [jira] [Updated] (JEXL-393) const must not be modifiable
From: "Henri Biestro (Jira)" <jira () apache ! org>
Date: 2023-02-28 8:53:00
Message-ID: JIRA.13525657.1677023942000.110707.1677574380011 () Atlassian ! JIRA
[Download RAW message or body]
[ https://issues.apache.org/jira/browse/JEXL-393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]
Henri Biestro updated JEXL-393:
-------------------------------
Fix Version/s: 3.3
> const must not be modifiable
> ----------------------------
>
> Key: JEXL-393
> URL: https://issues.apache.org/jira/browse/JEXL-393
> Project: Commons JEXL
> Issue Type: Bug
> Reporter: Hussachai Puripunpinyo
> Assignee: Henri Biestro
> Priority: Major
> Fix For: 3.3
>
>
> The following code works with JEXL master (2022-02-21) when it's not supposed to.
> {code:java}
> const total = 0;
> if (true) {
> total = 1;
> }
> total; {code}
> At the end, this script yields 1 as total constant was treated as a variable.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic