This commit is contained in:
Mike Farah
2021-07-07 15:30:45 +10:00
parent d1b6a6fdd9
commit ce3e347157
3 changed files with 31 additions and 4 deletions
+3
View File
@@ -8,6 +8,9 @@ func assignUpdateOperator(d *dataTreeNavigator, context Context, expressionNode
var rhs Context
if !expressionNode.Operation.UpdateAssign {
rhs, err = d.GetMatchingNodes(context.ReadOnlyClone(), expressionNode.Rhs)
if err != nil {
return Context{}, err
}
}
for el := lhs.MatchingNodes.Front(); el != nil; el = el.Next() {