allow to modify built-in temporary variables, otherwise its tough to reduce to a list. Let's see what happens.
This commit is contained in:
1 parent
255cb6b96a
commit
a8bae66b2a
1 file changed
+3
-3
@@ -141,12 +141,12 @@ public abstract class Value implements Comparable<Value>, Cloneable
|
|||||||
|
|
||||||
public void assertAssignable()
|
public void assertAssignable()
|
||||||
{
|
{
|
||||||
if (boundVariable == null || boundVariable.startsWith("_"))
|
if (boundVariable == null)// || boundVariable.startsWith("_"))
|
||||||
{
|
{
|
||||||
if (boundVariable != null)
|
/*if (boundVariable != null)
|
||||||
{
|
{
|
||||||
throw new InternalExpressionException(boundVariable+ " cannot be assigned a new value");
|
throw new InternalExpressionException(boundVariable+ " cannot be assigned a new value");
|
||||||
}
|
}*/
|
||||||
throw new InternalExpressionException(getString()+ " is not a variable");
|
throw new InternalExpressionException(getString()+ " is not a variable");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user