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

Dmitri Blinov edited comment on JEXL-369 at 5/11/22 6:32 PM:
-------------------------------------------------------------

[~henrib] My pleasure! As a good rule, const variable declarations should 
require an initialization part. Some sophisticated compilers like in java allow 
to separate the definition and initialization of final vars, but for JEXL this 
is beyond the reach, so the only way is to enforce initialization at the 
declaration point.


was (Author: dmitri_blinov):
[~henrib] As a good rule, const variable declarations should require an 
initialization part. Some sophisticated compilers like in java allow to 
separate the definition and initialization of final vars, but for JEXL this is 
beyond the reach, so the only way is to enforce initialization at the 
declaration point.

> Add 'let' and 'const' variable declarations
> -------------------------------------------
>
>                 Key: JEXL-369
>                 URL: https://issues.apache.org/jira/browse/JEXL-369
>             Project: Commons JEXL
>          Issue Type: Improvement
>    Affects Versions: 3.2.1
>            Reporter: Henri Biestro
>            Assignee: Henri Biestro
>            Priority: Major
>             Fix For: 3.3
>
>
> WHAT:
> Add creation of lexical scope variables, modifiable with 'let', 
> non-modifiable through 'const'.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to