-
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: fix resolving disjunctions in calls
Arguments to calls that were disjunctions were not always properly resolved, causing the argument to be top, instead of the right value. The current solution is not super principled, but does the job for now. It is quite tricky to find the right balance as evaluating too aggressively quickly leads to spurious cycles. Signed-off-by: Marcel van Lohuizen <mpvl@gmail.com> Change-Id: I74b28e5e0b6dfe75e60cb8d5227515128c7c4669 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1206321 Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com> Reviewed-by: Daniel Martí <mvdan@mvdan.cc> TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
- Loading branch information
Showing
2 changed files
with
8 additions
and
54 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