Mirror of https://github.com/cue-lang/cue cuelang.org
cue go
Something went wrong. Try again.
internal/core/adt: limit closedness check in Equal master
The closedness check only makes sense for CheckStructural . The flags != 0 test was used before some of the other options were introduced. We now only check closedness if CheckStructural is enabled. Note that this currently only impacts evalv2 behavior. The resulting changes are correct. Issue #2583 Signed-off-by: Marcel van Lohuizen <mpvl@gmail.com> Change-Id: I32a188f2d092469f043f6ae047cf914ffef90708 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1217007 Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com> TryBot-Result: CUEcueckoo <cueckoo@cuelang.org> Reviewed-by: Roger Peppe <rogpeppe@gmail.com>
Author Marcel van Lohuizen Date (Jun 18, 2025, 5:00 PM UTC) Commit e8e86822 e8e86822227006b796849d9bf16bccbd652ccfc8 Parent 26e1596b 26e1596bbf0c8325c29e42d46da5a60f450d7785