cuelang.org/go@v0.10.1/cue/testdata/definitions/issue496.txtar (about) 1 -- in.cue -- 2 #A: _ 3 4 #N: #A & { 5 _E: { 6 name: "hello" 7 } 8 } 9 10 l: #N 11 -- out/eval/stats -- 12 Leaks: 0 13 Freed: 8 14 Reused: 4 15 Allocs: 4 16 Retain: 0 17 18 Unifications: 8 19 Conjuncts: 13 20 Disjuncts: 8 21 -- out/eval -- 22 (struct){ 23 #A: (_){ _ } 24 #N: (#struct){ 25 _E: (#struct){ 26 name: (string){ "hello" } 27 } 28 } 29 l: (#struct){ 30 _E: (#struct){ 31 name: (string){ "hello" } 32 } 33 } 34 } 35 -- out/compile -- 36 --- in.cue 37 { 38 #A: _ 39 #N: (〈0;#A〉 & { 40 _E: { 41 name: "hello" 42 } 43 }) 44 l: 〈0;#N〉 45 }