cuelang.org/go@v0.10.1/cue/testdata/cycle/patterns.txtar (about) 1 Lots of cycle-reference goodness. 2 3 -- in.cue -- 4 [!~"^[.]"]: c 5 a: b 6 b: [string]: int 7 c: a: int 8 [string]: c 9 a: b 10 b: [string]: int 11 c: a: int 12 -- out/eval/stats -- 13 Leaks: 0 14 Freed: 7 15 Reused: 2 16 Allocs: 5 17 Retain: 2 18 19 Unifications: 7 20 Conjuncts: 59 21 Disjuncts: 9 22 -- out/eval -- 23 (struct){ 24 a: (struct){ 25 a: (int){ int } 26 } 27 b: (struct){ 28 a: (int){ int } 29 } 30 c: (struct){ 31 a: (int){ int } 32 } 33 } 34 -- out/compile -- 35 --- in.cue 36 { 37 [!~"^[.]"]: 〈0;c〉 38 a: 〈0;b〉 39 b: { 40 [string]: int 41 } 42 c: { 43 a: int 44 } 45 [string]: 〈0;c〉 46 a: 〈0;b〉 47 b: { 48 [string]: int 49 } 50 c: { 51 a: int 52 } 53 }