github.com/solo-io/cue@v0.4.7/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 -- 50 (struct){ 51 a: (struct){ 52 c: (int){ 3 } 53 d: (int){ 3 } 54 } 55 b: (struct){ 56 e: (int){ 3 } 57 f: (int){ 3 } 58 } 59 }