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: add lifetime check for closedness
Once a counter was decremented to zero, it is no longer allowed to be incremented. Issue #2884 Signed-off-by: Marcel van Lohuizen <mpvl@gmail.com> Change-Id: I82e0883467babd474ae8aaecb729418365181929 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1174013 Reviewed-by: Daniel Martí <mvdan@mvdan.cc> Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com> TryBot-Result: CUEcueckoo <cueckoo@gmail.com>
- Loading branch information