First, not second

This commit is contained in:
gnembon committed 2020-04-28 00:03:39 -03:00
1 parent d1ccfcfe18
commit 5542a46b43
1 file changed
+1 -1
+1 -1
View File
@@ -1131,7 +1131,7 @@ public class Expression
{
Value rval= lv.get(0).evalValue(c);
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();
LazyValue expr = lv.get(1);
//scoping