We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6204a0a commit 0be3c85Copy full SHA for 0be3c85
cue/testdata/cycle/issue2526.txtar
@@ -0,0 +1,34 @@
1
+// This code caused a hang on evalv2.
2
+#skip-v2
3
+-- in.cue --
4
+x
5
+x: {
6
+ y
7
+ y: x
8
+}
9
+-- out/compile --
10
+--- in.cue
11
+{
12
+ 〈0;x〉
13
+ x: {
14
+ 〈0;y〉
15
+ y: 〈1;x〉
16
+ }
17
18
+-- out/evalalpha --
19
+Errors:
20
+x.y: structural cycle
21
+
22
+Result:
23
+(_|_){
24
+ // [structural cycle]
25
+ x: (_|_){
26
27
+ y: (_|_){
28
+ // [structural cycle] x.y: structural cycle
29
30
31
32
33
34
0 commit comments