-
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/eval: dereference indirections earlier
Some temporary fields, like comprehension bindings, add an indirection to Vertices. Bugs may arise if these are not properly unwrapped. Lookup now derferences such indirections. Unwrap does the same as a second line of defense. Signed-off-by: Marcel van Lohuizen <[email protected]> Change-Id: Ia7832ab48ecebbb8c3c9341f99203859a7418e2a Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/531093 Unity-Result: CUEcueckoo <[email protected]> TryBot-Result: CUEcueckoo <[email protected]> Reviewed-by: Paul Jolly <[email protected]>
- Loading branch information
Showing
3 changed files
with
77 additions
and
41 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