This repository has been archived by the owner on Nov 18, 2021. It is now read-only.
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: change closeInfo.embedded to a flag field
This prepares for collecting more origin information into a single field. The additional information will be helpful for implementing trim and potentially other algorithms, and will give more context for error messages (if we move to a more dynamic model). This could be implemented as more booleans, but grouping them as flags seems clearer and less error-prone w.r.t. deciding what needs to be copied from the parent closeInfo. It probably will also be more performant. Change-Id: Id131aa62300d8e989c22cf4f308aeb5fc53cf238 Reviewed-on: https://cue-review.googlesource.com/c/cue/+/8236 Reviewed-by: CUE cueckoo <[email protected]> Reviewed-by: Paul Jolly <[email protected]> Reviewed-by: Marcel van Lohuizen <[email protected]>
- Loading branch information