Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cue/load: move no-package-args logic
This is a small change to move the "no arguments means the current package" logic earlier in the `Instances` function so that we can expand the arguments before creating the loader. For #3155 Signed-off-by: Roger Peppe <rogpeppe@gmail.com> Change-Id: I1d300699ddee5823501baa9ef82b4f54018e8d1a Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1195194 TryBot-Result: CUEcueckoo <cueckoo@cuelang.org> Reviewed-by: Chief Cueckoo <chief.cueckoo@gmail.com> Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
- Loading branch information