You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Dmitri Blinov (JIRA)" <ji...@apache.org> on 2016/07/06 07:13:10 UTC
[jira] [Created] (JEXL-202) Detect invalid
(addition/subtraction/etc)-assignment operator usage with non-assignable
l-value during script parsing
Dmitri Blinov created JEXL-202:
----------------------------------
Summary: Detect invalid (addition/subtraction/etc)-assignment operator usage with non-assignable l-value during script parsing
Key: JEXL-202
URL: https://issues.apache.org/jira/browse/JEXL-202
Project: Commons JEXL
Issue Type: Bug
Affects Versions: 3.0
Reporter: Dmitri Blinov
Priority: Minor
While the code like
{code}
2 = 3
{code} throws exception "assignment error in .." during parsing, the code like
{code}
2 += 3
{code} is parsed successfully and only throws exception "illegal assignment form 0" in runtime which makes it harder for debug.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)