Adding acceptance test for #1257, fixed panic

This commit is contained in:
Mike Farah
2022-06-25 12:15:28 +10:00
parent 9b47a29864
commit 06d2aaad80
3 changed files with 27 additions and 0 deletions
+2
View File
@@ -22,6 +22,8 @@ func assignUpdateOperator(d *dataTreeNavigator, context Context, expressionNode
}
prefs := assignPreferences{}
// they way *= (multipleAssign) is handled, we set the multiplePrefs
// on the node, not assignPrefs. Long story.
if p, ok := expressionNode.Operation.Preferences.(assignPreferences); ok {
prefs = p
}