cuelang.org/go@v0.10.1/cue/testdata/export/011.txtar (about) 1 # DO NOT EDIT; generated by go run testdata/gen.go 2 # 3 raw: true 4 -- in.cue -- 5 {a: {b: []}, c: a.b, d: a["b"]} 6 -- out/def -- 7 a: { 8 b: [] 9 } 10 c: [] 11 d: [] 12 -- out/export -- 13 a: { 14 b: [] 15 } 16 c: [] 17 d: [] 18 -- out/yaml -- 19 a: 20 b: [] 21 c: [] 22 d: [] 23 -- out/json -- 24 {"a":{"b":[]},"c":[],"d":[]} 25 -- out/compile -- 26 --- in.cue 27 { 28 { 29 a: { 30 b: [] 31 } 32 c: ć0;ać.b 33 d: ć0;ać["b"] 34 } 35 } 36 -- out/eval/stats -- 37 Leaks: 0 38 Freed: 5 39 Reused: 2 40 Allocs: 3 41 Retain: 0 42 43 Unifications: 5 44 Conjuncts: 8 45 Disjuncts: 5 46 -- out/eval -- 47 (struct){ 48 a: (struct){ 49 b: (#list){ 50 } 51 } 52 c: (#list){ 53 } 54 d: (#list){ 55 } 56 }