github.com/solo-io/cue@v0.4.7/cue/testdata/export/015.txtar (about) 1 # DO NOT EDIT; generated by go run testdata/gen.go 2 # 3 raw: true 4 eval: true 5 -- in.cue -- 6 { 7 a: (*1 | 2) & (1 | *2) 8 b: [(*1 | 2) & (1 | *2)] 9 } 10 -- out/def -- 11 a: 1 | 2 | *_|_ 12 b: [1 | 2 | *_|_] 13 -- out/compile -- 14 --- in.cue 15 { 16 { 17 a: ((*1|2) & (1|*2)) 18 b: [ 19 ((*1|2) & (1|*2)), 20 ] 21 } 22 } 23 -- out/eval -- 24 (struct){ 25 a: (int){ |((int){ 1 }, (int){ 2 }) } 26 b: (#list){ 27 0: (int){ |((int){ 1 }, (int){ 2 }) } 28 } 29 }