-
Notifications
You must be signed in to change notification settings - Fork 276
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/core/eval: allow closedness override
The old implementation was a bit too permissive handling closedness in the API. The current implementation tracks closedness status within the Vertex. Some packages take apart the conjuncts of a value and then reassemblem then using Unify. In this case, the closedness information is invalidated. The added API allows passing the closedness information of the original node to exactly specify what is is allowed. Change-Id: I63f177dcb8ce70b428a02649641b96163e257166 Reviewed-on: https://cue-review.googlesource.com/c/cue/+/6648 Reviewed-by: Marcel van Lohuizen <mpvl@golang.org>
- Loading branch information
Showing
2 changed files
with
60 additions
and
10 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