-
Notifications
You must be signed in to change notification settings - Fork 298
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: allow selectively turning off sharing
Some bugs only manifest itself when a combination of sharing and not sharing of nodes occurs. It is hard to write tests for these bugs, as the sharing algorithm is continuously evolving: a construct that disables sharing right now, might not do so in the future. We add a __no_sharing directive that, when unified with another value, will guarantee that this value is not shared. Issue #3601 Signed-off-by: Marcel van Lohuizen <[email protected]> Change-Id: Ib3d2c5783761583072e46107fbd8ba84827e6f70 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1205230 TryBot-Result: CUEcueckoo <[email protected]> Unity-Result: CUE porcuepine <[email protected]> Reviewed-by: Matthew Sackman <[email protected]>
- Loading branch information
Showing
3 changed files
with
258 additions
and
7 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
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