-
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: do not proactively evaluate let
This mimics the behavior of V2 and fixes some spurious structural cycles when using let. The main fix is in issue990.txtar. Note that some evaluations get more expensive. This is to be expected, as being more permissive with cycles means that we may take a bit longer to detect them. Signed-off-by: Marcel van Lohuizen <[email protected]> Change-Id: If3fef8af1320fde0be2bfc187df0d9d2e482fb28 Reviewed-on: https://gerrithub.io/c/cue-lang/cue/+/1206383 Unity-Result: CUE porcuepine <[email protected]> Reviewed-by: Daniel Martí <[email protected]> TryBot-Result: CUEcueckoo <[email protected]>
- Loading branch information
Showing
9 changed files
with
237 additions
and
193 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
Oops, something went wrong.