-
Notifications
You must be signed in to change notification settings - Fork 287
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 regression in comparing to bottom
In v0.4.3, comparing a struct with a nested incomplete error to bottom did not pass. Even though logically this is correct, so the "regression" was arguably a bug fix, we opt to keep the original behavior for v0.5 and rather introduce builtins that can help write this in a more well-defined manner (e.g. isvalid vs exists). Fixes #2245 Signed-off-by: Marcel van Lohuizen <mpvl@gmail.com> Change-Id: Iaa56202d663133f00521b4f47dd568a4e2de777f Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/551004 Unity-Result: CUEcueckoo <cueckoo@cuelang.org> TryBot-Result: CUEcueckoo <cueckoo@cuelang.org> Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
- Loading branch information
Showing
3 changed files
with
51 additions
and
17 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