cuelang.org/go@v0.10.1/cue/testdata/cycle/015_reference_across_tuples_and_back.txtar (about) 1 # DO NOT EDIT; generated by go run testdata/gen.go 2 # 3 #name: reference across tuples and back 4 #evalPartial 5 -- in.cue -- 6 a: {c: b.e, d: b.f} 7 b: {e: 3, f: a.c} 8 -- out/def -- 9 a: { 10 c: 3 11 d: 3 12 } 13 b: { 14 e: 3 15 f: 3 16 } 17 -- out/export -- 18 a: { 19 c: 3 20 d: 3 21 } 22 b: { 23 e: 3 24 f: 3 25 } 26 -- out/yaml -- 27 a: 28 c: 3 29 d: 3 30 b: 31 e: 3 32 f: 3 33 -- out/json -- 34 {"a":{"c":3,"d":3},"b":{"e":3,"f":3}} 35 -- out/legacy-debug -- 36 <0>{a: <1>{c: 3, d: 3}, b: <2>{e: 3, f: 3}} 37 -- out/compile -- 38 --- in.cue 39 { 40 a: { 41 c: 〈1;b〉.e 42 d: 〈1;b〉.f 43 } 44 b: { 45 e: 3 46 f: 〈1;a〉.c 47 } 48 } 49 -- out/eval/stats -- 50 Leaks: 0 51 Freed: 7 52 Reused: 1 53 Allocs: 6 54 Retain: 8 55 56 Unifications: 7 57 Conjuncts: 12 58 Disjuncts: 12 59 -- out/eval -- 60 (struct){ 61 a: (struct){ 62 c: (int){ 3 } 63 d: (int){ 3 } 64 } 65 b: (struct){ 66 e: (int){ 3 } 67 f: (int){ 3 } 68 } 69 }