Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.3
-
None
Description
As a follow-up on JEXL-401, add a runtime option (JexlOption) for 'const capture'.
This is meant to ease migrating scripts that would otherwise fail at creation time if the engine is configured with the const-capture feature.
By allowing it as an option, it is easy to add it to the code and make it fail at execution time as in:
#pragma jexl.options '+constCapture'
Attachments
Issue Links
- relates to
-
JEXL-401 Captured variables should be read-only
- Resolved