cuelang.org/go@v0.13.0/cue/testdata/cycle/issue2526.txtar (about) 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 // [structural cycle] 27 y: (_|_){ 28 // [structural cycle] x.y: structural cycle 29 } 30 } 31 y: (_|_){ 32 // [structural cycle] 33 } 34 }