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
In V3, because closedness is computed out of
band with the processing of an arc, it may be
that an arc gets an error _after_ it has been
processed. For this reasons, we propagate it in
a separate loop after all other arcs have been
processed.
To avoid spurious errors, we now need to explicitly
check for an arc error before calling
reportFieldMismatch. Theoretically it is possible
that there is still a spurious error. This only occurs,
however, if the arc is already erroneous, so this is
not a huge deal.
Fixes#3576
Signed-off-by: Marcel van Lohuizen <[email protected]>
Change-Id: Idfec48db39be56155c3376b4284bd67a4e8bef20
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1206291
Reviewed-by: Daniel Martí <[email protected]>
TryBot-Result: CUEcueckoo <[email protected]>
Unity-Result: CUE porcuepine <[email protected]>
0 commit comments