...
1# DO NOT EDIT; generated by go run testdata/gen.go
2#
3#name: closing structs
4#evalPartial
5-- in.cue --
6op: {x: int} // {x: int}
7ot: {x: int, ...} // {x: int, ...}
8cp: close({x: int}) // closed({x: int})
9ct: close({x: int, ...}) // {x: int, ...}
10
11opot: op & ot // {x: int, ...}
12otop: ot & op // {x: int, ...}
13opcp: op & cp // closed({x: int})
14cpop: cp & op // closed({x: int})
15opct: op & ct // {x: int, ...}
16ctop: ct & op // {x: int, ...}
17otcp: ot & cp // closed({x: int})
18cpot: cp & ot // closed({x: int})
19otct: ot & ct // {x: int, ...}
20ctot: ct & ot // {x: int, ...}
21cpct: cp & ct // closed({x: int})
22ctcp: ct & cp // closed({x: int})
23ctct: ct & ct // {x: int, ...}
24-- out/def --
25op: {
26 x: int
27}
28ot: {
29 x: int
30 ...
31}
32cp: close({
33 x: int
34})
35ct: {
36 x: int
37 ...
38}
39opot: op & ot
40otop: ot & op
41opcp: op & cp
42cpop: cp & op
43opct: op & ct
44ctop: ct & op
45otcp: ot & cp
46cpot: cp & ot
47otct: ot & ct
48ctot: ct & ot
49cpct: cp & ct
50ctcp: ct & cp
51ctct: ct & ct
52-- out/legacy-debug --
53<0>{op: <1>{x: int}, ot: <2>{x: int, ...}, cp: <3>C{x: int}, ct: <4>{x: int, ...}, opot: <5>{x: int, ...}, otop: <6>{x: int, ...}, opcp: <7>C{x: int}, cpop: <8>C{x: int}, opct: <9>{x: int, ...}, ctop: <10>{x: int, ...}, otcp: <11>C{x: int}, cpot: <12>C{x: int}, otct: <13>{x: int, ...}, ctot: <14>{x: int, ...}, cpct: <15>C{x: int}, ctcp: <16>C{x: int}, ctct: <17>{x: int, ...}}
54-- out/eval/stats --
55Leaks: 15
56Freed: 35
57Reused: 32
58Allocs: 18
59Retain: 15
60
61Unifications: 50
62Conjuncts: 115
63Disjuncts: 50
64-- out/eval --
65(struct){
66 op: (struct){
67 x: (int){ int }
68 }
69 ot: (struct){
70 x: (int){ int }
71 }
72 cp: (#struct){
73 x: (int){ int }
74 }
75 ct: (#struct){
76 x: (int){ int }
77 }
78 opot: (struct){
79 x: (int){ int }
80 }
81 otop: (struct){
82 x: (int){ int }
83 }
84 opcp: (#struct){
85 x: (int){ int }
86 }
87 cpop: (#struct){
88 x: (int){ int }
89 }
90 opct: (#struct){
91 x: (int){ int }
92 }
93 ctop: (#struct){
94 x: (int){ int }
95 }
96 otcp: (#struct){
97 x: (int){ int }
98 }
99 cpot: (#struct){
100 x: (int){ int }
101 }
102 otct: (#struct){
103 x: (int){ int }
104 }
105 ctot: (#struct){
106 x: (int){ int }
107 }
108 cpct: (#struct){
109 x: (int){ int }
110 }
111 ctcp: (#struct){
112 x: (int){ int }
113 }
114 ctct: (#struct){
115 x: (int){ int }
116 }
117}
118-- out/compile --
119--- in.cue
120{
121 op: {
122 x: int
123 }
124 ot: {
125 x: int
126 ...
127 }
128 cp: close({
129 x: int
130 })
131 ct: close({
132 x: int
133 ...
134 })
135 opot: (〈0;op〉 & 〈0;ot〉)
136 otop: (〈0;ot〉 & 〈0;op〉)
137 opcp: (〈0;op〉 & 〈0;cp〉)
138 cpop: (〈0;cp〉 & 〈0;op〉)
139 opct: (〈0;op〉 & 〈0;ct〉)
140 ctop: (〈0;ct〉 & 〈0;op〉)
141 otcp: (〈0;ot〉 & 〈0;cp〉)
142 cpot: (〈0;cp〉 & 〈0;ot〉)
143 otct: (〈0;ot〉 & 〈0;ct〉)
144 ctot: (〈0;ct〉 & 〈0;ot〉)
145 cpct: (〈0;cp〉 & 〈0;ct〉)
146 ctcp: (〈0;ct〉 & 〈0;cp〉)
147 ctct: (〈0;ct〉 & 〈0;ct〉)
148}
View as plain text