Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cue/load: do not consider anonymous packages when checking package qu…
…alifier When cue/load is loading a package with an explicit qualifier we only want to load the files declaring that package name. However, in the edge case where the qualifier wasn't specified, we would always consider files which did not declare any package name, which was an unintended regression from `CUE_EXPERIMENT=modules=0`. Fixes #3244 Signed-off-by: Roger Peppe <[email protected]> Change-Id: I64e81bdba5c1be9b35b08af5e72e631adbae6a9d Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1196720 Reviewed-by: Daniel Martí <[email protected]> TryBot-Result: CUEcueckoo <[email protected]> Unity-Result: CUE porcuepine <[email protected]>
- Loading branch information