nicer reduce example

This commit is contained in:
Mike Farah
2021-02-15 18:23:50 +11:00
parent ee1f55630f
commit a6cd250987
4 changed files with 34 additions and 77 deletions
-2
View File
@@ -39,8 +39,6 @@ func reduceOperator(d *dataTreeNavigator, context Context, expressionNode *Expre
return Context{}, err
}
accum.SetVariable("context", context.MatchingNodes)
log.Debugf("with variable %v", variableName)
blockExp := expressionNode.Rhs.Rhs