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
internal/core/adt: initialize erroneous optional fields in disjunctions
When cloning nodeContexts for disjunctions, they
must already be initialized to ensure that the
closeContext counters stay aligned (especially
EVAL). This was enforced by initArcs.
initArcs, however, assumed that an error in an arc
implied an error in the enclosing arc. This is not true
for optional fields. It should therefore still process
remaining arcs in these cases. To be safe, we do so
for any arc that is not a regular field.
Fixes#3680
Signed-off-by: Marcel van Lohuizen <[email protected]>
Change-Id: I90763234472ba29c57d71725b57a39186b521458
Reviewed-on: https://gerrithub.io/c/cue-lang/cue/+/1207263
TryBot-Result: CUEcueckoo <[email protected]>
Unity-Result: CUE porcuepine <[email protected]>
Reviewed-by: Daniel Martí <[email protected]>
0 commit comments