cuelang.org/go@v0.10.1/cue/testdata/references/labelstop.txtar (about) 1 TODO: add matching when bulk optional fields are allowed 2 alongside other fields. 3 -- in.cue -- 4 {[X=string]: baz: X} 5 bar: {} 6 -- out/eval/stats -- 7 Leaks: 0 8 Freed: 3 9 Reused: 0 10 Allocs: 3 11 Retain: 0 12 13 Unifications: 3 14 Conjuncts: 5 15 Disjuncts: 3 16 -- out/eval -- 17 (struct){ 18 bar: (struct){ 19 baz: (string){ "bar" } 20 } 21 } 22 -- out/compile -- 23 --- in.cue 24 { 25 { 26 [string]: { 27 baz: 〈1;-〉 28 } 29 } 30 bar: {} 31 }