Commit a52af3ba authored by Eric Myhre's avatar Eric Myhre

Rather critically, recursives need to reach into their child assembler and invalidate them.

For all the paths around scalar children, invalidating the child
assembler's pointer back to parent has been sufficient to obstruct any
problematic mutations, but with how directly the operations on map
children are passed through to their 'w' target, we also need to do
an invalidation that affects there.
parent 8929c2f1
...@@ -376,5 +376,7 @@ func (ma *plainMap__ValueAssemblerMap) Finish() error { ...@@ -376,5 +376,7 @@ func (ma *plainMap__ValueAssemblerMap) Finish() error {
if err := ma.ca.Finish(); err != nil { if err := ma.ca.Finish(); err != nil {
return err return err
} }
return ma.p.va.AssignNode(ma.ca.w) w := ma.ca.w
ma.ca.w = nil
return ma.p.va.AssignNode(w)
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment