Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cue/load: make imports work in "all package" mode
The `build.Instance` was being created directly by `cue/load`, but that ends up with an instance that contains a nil `loadFunc`, so imports are then ignored. Use the regular build context to create the new instance instead. Signed-off-by: Roger Peppe <[email protected]> Change-Id: I9f456fc7f09497ef16ce5d09a2f84c1f48d3374e Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1201522 Unity-Result: CUE porcuepine <[email protected]> TryBot-Result: CUEcueckoo <[email protected]> Reviewed-by: Daniel Martí <[email protected]>
- Loading branch information