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: require nodes for indexing
In general, it is desirable to evaluate things eagerly when we can. This is one of these cases. It will help improve a followup CL that fixes a bug for optional references. This also fixes a reference count issue. We include this as a separate CL to be able to bisect any issues that may arise from this change. Signed-off-by: Marcel van Lohuizen <[email protected]> Change-Id: I76f406cde7f31be8ec9207a877eaff8ba4a98b02 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1199916 TryBot-Result: CUEcueckoo <[email protected]> Reviewed-by: Matthew Sackman <[email protected]> Reviewed-by: Daniel Martí <[email protected]> Unity-Result: CUE porcuepine <[email protected]>
- Loading branch information