First, not second
This commit is contained in:
1 parent
d1ccfcfe18
commit
5542a46b43
1 file changed
+1
-1
@@ -1131,7 +1131,7 @@ public class Expression
|
|||||||
{
|
{
|
||||||
Value rval= lv.get(0).evalValue(c);
|
Value rval= lv.get(0).evalValue(c);
|
||||||
if (!(rval instanceof AbstractListValue))
|
if (!(rval instanceof AbstractListValue))
|
||||||
throw new InternalExpressionException("Second argument of 'for' function should be a list or iterator");
|
throw new InternalExpressionException("First argument of 'for' function should be a list or iterator");
|
||||||
Iterator<Value> iterator = ((AbstractListValue) rval).iterator();
|
Iterator<Value> iterator = ((AbstractListValue) rval).iterator();
|
||||||
LazyValue expr = lv.get(1);
|
LazyValue expr = lv.get(1);
|
||||||
//scoping
|
//scoping
|
||||||
|
|||||||
Reference in new issue
Block a user