Skip to content

Commit

Permalink
cue: add a regression test for a structural cycle bug fixed in evalv3
Browse files Browse the repository at this point in the history
The added bit of CUE incorrectly gives a result on evalv2,
but evalv3 correctly gives a structural cycle error.

Note that a lot of positions get unfortunately shifted
as we are adding an import at the top of the file.

Closes #3310.

Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Change-Id: I8b4bd4b1dda3ca7dadae242fb5489ecc1d980ec0
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1200808
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Reviewed-by: Matthew Sackman <matthew@cue.works>
  • Loading branch information
mvdan committed Sep 9, 2024
1 parent fbcadd9 commit e29900a
Showing 1 changed file with 402 additions and 335 deletions.
Loading

0 comments on commit e29900a

Please sign in to comment.