-
Notifications
You must be signed in to change notification settings - Fork 294
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cue/load: fix loading when Config.Package does not match default package
When a caller of `cue/load.Instances`, specifies an explicit package to load by setting `Config.Package`, it should be essentially the same as specifying an explicit package qualifier in all package arguments that don't already have one. That's not the case currently. This change fixes that. Fixes #3213. Signed-off-by: Roger Peppe <[email protected]> Change-Id: I740a16911340e083776303fb0e454b4533e66f2f Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1196178 Reviewed-by: Daniel Martí <[email protected]> TryBot-Result: CUEcueckoo <[email protected]> Unity-Result: CUE porcuepine <[email protected]> Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1196232 Reviewed-by: Paul Jolly <[email protected]>
- Loading branch information
Showing
2 changed files
with
35 additions
and
13 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