-
Notifications
You must be signed in to change notification settings - Fork 293
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/core: add support for toposort to evalv2
Very similar to evalv3, we need to ensure the pointer to the parent declaration is populated in StructInfo. The same approach is taken, this time modifying closeInfo rather than closeContext, but there seem to be extra intermediate closeInfos sometimes added, so I need to inspect a closeInfo's ancestors to find the first non-nil declaration. Signed-off-by: Matthew Sackman <[email protected]> Change-Id: I69cac611cd36c2376eaad785e1cc8bd24665c4c4 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1202687 TryBot-Result: CUEcueckoo <[email protected]> Unity-Result: CUE porcuepine <[email protected]> Reviewed-by: Marcel van Lohuizen <[email protected]>
- Loading branch information
1 parent
65a15e2
commit c374e6c
Showing
4 changed files
with
23 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
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