Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/cue: add regression test for #3616
The old evaluator (evalv2) does not correctly handle some combination of the scenario in this repro, which involves "copying" values and the use of -l for a non-CUE file. The precise reason that evalv2 does not fail as expected is not known. But given we are close to switching to evalv3 by default, and all efforts and fixed are geared in that direction, adding this test to lock in the behaviour of evalv3 (and evalv2 for that matter) is deemed sufficient. Fixes #3616. Signed-off-by: Paul Jolly <[email protected]> Change-Id: I4ed6b72101191c8fcd7db262cfa0c8701aa1e038 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1205343 Unity-Result: CUE porcuepine <[email protected]> Reviewed-by: Daniel Martí <[email protected]> TryBot-Result: CUEcueckoo <[email protected]>
- Loading branch information