-
Notifications
You must be signed in to change notification settings - Fork 302
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: bail on empty node
Some resolvers return 'emptyNode' as a value upon error, others nil. Treat both cases equally. Issue #2850 Signed-off-by: Marcel van Lohuizen <[email protected]> Change-Id: I295cc58cd3836d95ecc4a459d6a56f5ac1393b66 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1201894 Reviewed-by: Matthew Sackman <[email protected]> Unity-Result: CUE porcuepine <[email protected]> TryBot-Result: CUEcueckoo <[email protected]>
- Loading branch information
Showing
2 changed files
with
28 additions
and
105 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