You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This CL does some magic with FromDef in order
to make the tests pass again after the reduction
in closeContext graph depth.
In general, FromDef should be taken from the
ConjunctGroup leafs. However, sometimes FromDef
is passed down too aggressively. We therefore erase
the incoming FromDef in adt.Unify.
At the same time, when adt.Unify is called from
the API and passes a Vertex, we still need to
honor the ClosedRecursive flag. We therefore keep
setting this flag for adt.Unify (in addConjuncts).
Another issue is that in insertSkipConjuncts, we
now need to clear the FromDef not only in
ConjunctGroups, but any conjunct with a lower depth,
because there is no longer a conjunct group
corresponding to each increase in depth of the
graph.
Issue #2850
Signed-off-by: Marcel van Lohuizen <[email protected]>
Change-Id: I89d53ff14e374350c1fff317d2f1baf20268aaec
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1209184
Reviewed-by: Matthew Sackman <[email protected]>
TryBot-Result: CUEcueckoo <[email protected]>
0 commit comments