-
Notifications
You must be signed in to change notification settings - Fork 294
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/core/debug: add cycle detector
Sometimes nodes are shared (using structure sharing) that have a structural cycle without reporting on that structural cycle. This caused printing to hang. This change detects such cases and modifies to output to inform about such cycles. Issue #2850 Signed-off-by: Marcel van Lohuizen <[email protected]> Change-Id: Iba74c91729507a4782c7f5902ef2ac6ed2770716 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1201896 Reviewed-by: Matthew Sackman <[email protected]> Unity-Result: CUE porcuepine <[email protected]> TryBot-Result: CUEcueckoo <[email protected]>
- Loading branch information
Showing
3 changed files
with
30 additions
and
0 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