cuelang.org/go@v0.10.1/cue/testdata/resolve/000_convert___to_top.txtar (about) 1 # DO NOT EDIT; generated by go run testdata/gen.go 2 # 3 #name: convert _ to top 4 #evalPartial 5 -- in.cue -- 6 a: {[_]: _} 7 -- out/def -- 8 a: { 9 ... 10 } 11 -- out/export -- 12 a: {} 13 -- out/yaml -- 14 a: {} 15 -- out/json -- 16 {"a":{}} 17 -- out/legacy-debug -- 18 <0>{a: <1>{...}} 19 -- out/compile -- 20 --- in.cue 21 { 22 a: { 23 [_]: _ 24 } 25 } 26 -- out/eval/stats -- 27 Leaks: 0 28 Freed: 2 29 Reused: 0 30 Allocs: 2 31 Retain: 0 32 33 Unifications: 2 34 Conjuncts: 2 35 Disjuncts: 2 36 -- out/eval -- 37 (struct){ 38 a: (struct){ 39 } 40 }