...
1# DO NOT EDIT; generated by go run testdata/gen.go
2#
3raw: true
4eval: true
5-- in.cue --
6{
7 a: (*1 | 2) & (1 | *2)
8 b: [(*1 | 2) & (1 | *2)]
9}
10-- out/def --
11a: 1 | 2 | *_|_
12b: [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/stats --
24Leaks: 0
25Freed: 16
26Reused: 9
27Allocs: 7
28Retain: 0
29
30Unifications: 4
31Conjuncts: 19
32Disjuncts: 16
33-- out/eval --
34(struct){
35 a: (int){ |((int){ 1 }, (int){ 2 }) }
36 b: (#list){
37 0: (int){ |((int){ 1 }, (int){ 2 }) }
38 }
39}
View as plain text