-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/core/adt: propagate child errors
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 Dispatch-Trailer: {"type":"trybot","CL":1206291,"patchset":1,"ref":"refs/changes/91/1206291/1","targetBranch":"master"}
- Loading branch information
Showing
2 changed files
with
27 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters