-
Notifications
You must be signed in to change notification settings - Fork 301
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: prevent recursion in calls
Expressions that contain a call may end up in an infinite recursion if we do not ensure that there is non-cyclic data to propagate the evaluation. This fixes some tests, but we found it also makes it more robust against infinite recursion when developing alternative evaluation strategies. Issue #3649 Signed-off-by: Marcel van Lohuizen <[email protected]> Change-Id: I7d6fecb886cf50f34589607dae606de1fea5ce93 Reviewed-on: https://cue.gerrithub.io/c/cue-lang/cue/+/1208008 Unity-Result: CUE porcuepine <[email protected]> TryBot-Result: CUEcueckoo <[email protected]> Reviewed-by: Matthew Sackman <[email protected]>
- Loading branch information
Showing
3 changed files
with
122 additions
and
42 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