Merge branch 'master' into 1.15

This commit is contained in:
gnembon committed 2019-12-10 00:13:20 -04:00
commit cc9cc17b27
1 file changed
+1 -1
+1 -1
View File
@@ -1912,7 +1912,7 @@ public class Expression implements Cloneable
// similar to map, but returns total number of successes
// for(list, expr) => success_count
// can be substituted for first and all, but first is more efficient and all doesn't require knowing list size
addLazyFunction("for", -1, (c, t, lv) ->
addLazyFunction("for", 2, (c, t, lv) ->
{
Value rval= lv.get(0).evalValue(c);
if (!(rval instanceof AbstractListValue))