-
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: search harder for BinExprs in toposort
Finding explicit unifications (`a & b`) is essential for correct construction of the graph of nodes, which is central to toposort. By searching through a vertex's structinfo's Decls, we can find more BinExprs, and so build more correct graphs. Signed-off-by: Matthew Sackman <matthew@cue.works> Change-Id: Id19b772617b59853e38b4291560e9689b6e2e111 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1207585 Reviewed-by: Marcel van Lohuizen <mpvl@gmail.com> TryBot-Result: CUEcueckoo <cueckoo@cuelang.org> Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>
- Loading branch information
1 parent
6ada21c
commit 9caec6f
Showing
2 changed files
with
31 additions
and
21 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