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
Dispatch-Trailer: {"type":"trybot","CL":1200808,"patchset":2,"ref":"refs/changes/08/1200808/2","targetBranch":"master"}
  • Loading branch information
mvdan authored and cueckoo committed Sep 9, 2024
1 parent fbcadd9 commit 27588d4
Showing 1 changed file with 402 additions and 335 deletions.
Loading

0 comments on commit 27588d4

Please sign in to comment.