This repository has been archived by the owner on Nov 18, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 171
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: fix omission of closedness check
Analysis: the comprehension evaluates a with the state AllArcs, which allows processing to stop and continue later. The closeness check was only done, though, if a field was evaluated completely in one go. The solution is to also do the check in the alternative path, where the evaluation is delayed due to the usage of AllArcs. Fixes #852 Change-Id: I0b34b430330befe9170e51c4f7673095c5e42351 Reviewed-on: https://cue-review.googlesource.com/c/cue/+/9141 Reviewed-by: CUE cueckoo <[email protected]> Reviewed-by: Marcel van Lohuizen <[email protected]>
- Loading branch information
Showing
2 changed files
with
97 additions
and
30 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