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: match decrement for nested comprehension arcs
The current logic for closedness counter matching did not account for nested arcs in comprehensions, causing errors to be reported when adt.DebugDeps was set to false. This does not fix any tests, but it will reduce the number of errors reported setting DebugDeps to true, which is currently set to false. Issue #2884 Signed-off-by: Marcel van Lohuizen <mpvl@gmail.com> Change-Id: Ie3efec2d30bdab0ea6802cf9d1f978e5a51abdc3 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1193641 Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com> TryBot-Result: CUEcueckoo <cueckoo@cuelang.org> Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
- Loading branch information