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: fix possible infinte loop for API usage
When a Vertex is used as a Conjunct directly and evaluated as Partial, it was possible that an evaluation loop would result in an infinite loop. The solution is to ensure that there is always progress for a given Vertex and Conjunct, even if there is an evaluation cycle. Fixes #2293 Signed-off-by: Marcel van Lohuizen <mpvl@gmail.com> Change-Id: Ic52ccc31989c7305d257125dfd1dd944b37cdf4c Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/551056 Reviewed-by: Daniel Martí <mvdan@mvdan.cc> Unity-Result: CUEcueckoo <cueckoo@cuelang.org> TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
- Loading branch information