-
Notifications
You must be signed in to change notification settings - Fork 302
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: break notification dependency on structural cycle
This case is specifically is not handled if structure sharing is off, or when a let is involved. Consider, for instance, this case: a: next: X let X = a Here, `a` is substituted for `X`, after which a structural cycle is detected. At this point, any notification resulting from X should be cancelled. Basically, cycle detection followed a different path, where this was not done. Signed-off-by: Marcel van Lohuizen <[email protected]> Change-Id: Iba7a4399fb4d52d87c4ccfb3adba3bf79f14ca4b Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1207520 TryBot-Result: CUEcueckoo <[email protected]> Unity-Result: CUE porcuepine <[email protected]> Reviewed-by: Daniel Martí <[email protected]>
- Loading branch information
Showing
3 changed files
with
12 additions
and
8 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