Debian Codegraph @

tests/Corner/badStatement.expected

raw
1 Considering object completion on:
2 rl m(F:Foo) < O:Oid : C | none > => < O:Oid : C | none > .
3 Transformed rule:
4 rl m(F:Foo) < O:Oid : V:C | Atts:AttributeSet > => < O:Oid : V:C |
5 Atts:AttributeSet > .
6
7 Considering object completion on:
8 rl m(F:Foo) < O:Oid : V:C | none > => < O:Oid : V:C | none > .
9 Transformed rule:
10 rl m(F:Foo) < O:Oid : V:C | Atts:AttributeSet > => < O:Oid : V:C |
11 Atts:AttributeSet > .
12
13 Advisory: <standard input>, line 23 (omod FOO): bad class argument junk in
14 left-hand side object < O1:Oid : junk | none > disables object completion.
15 Advisory: <standard input>, line 23 (omod FOO): transformation not performed
16 for:
17 rl m(F:Foo) < O1:Oid : junk | none > => < O1:Oid : junk | none > .
18 Advisory: <standard input>, line 24 (omod FOO): class argument junk in object
19 instance < O2:Oid : junk | none > differing from class argument C in
20 left-hand side object instance < O2:Oid : C | none > disables object
21 completion.
22 Advisory: <standard input>, line 24 (omod FOO): transformation not performed
23 for:
24 rl m(F:Foo) < O2:Oid : C | none > => < O2:Oid : junk | none > .
25 Advisory: <standard input>, line 25 (omod FOO): bad class argument junk in
26 left-hand side object < O3:Oid : junk | none > disables object completion.
27 Advisory: <standard input>, line 25 (omod FOO): transformation not performed
28 for:
29 rl m(F:Foo) < O3:Oid : junk | none > => < O3:Oid : C | none > .
30 Advisory: <standard input>, line 27 (omod FOO): class argument junk in object
31 instance < O4:Oid : junk | none > differing from class argument V:C in
32 left-hand side object instance < O4:Oid : V:C | none > disables object
33 completion.
34 Advisory: <standard input>, line 27 (omod FOO): transformation not performed
35 for:
36 rl m(F:Foo) < O4:Oid : V:C | none > => < O4:Oid : junk | none > .
37 Advisory: <standard input>, line 28 (omod FOO): bad class argument junk in
38 left-hand side object < O5:Oid : junk | none > disables object completion.
39 Advisory: <standard input>, line 28 (omod FOO): transformation not performed
40 for:
41 rl m(F:Foo) < O5:Oid : junk | none > => < O5:Oid : V:C | none > .
42 Warning: <standard input>, line 28 (omod FOO): variable V:C is used before it
43 is bound in rule:
44 rl m(F:Foo) < O5:Oid : junk | none > => < O5:Oid : V:C | none > .
45 Advisory: <standard input>, line 30 (omod FOO): class argument V:C in object
46 instance < O6:Oid : V:C | none > differing from class argument C in
47 left-hand side object instance < O6:Oid : C | none > disables object
48 completion.
49 Advisory: <standard input>, line 30 (omod FOO): transformation not performed
50 for:
51 rl m(F:Foo) < O6:Oid : C | none > => < O6:Oid : V:C | none > .
52 Warning: <standard input>, line 30 (omod FOO): variable V:C is used before it
53 is bound in rule:
54 rl m(F:Foo) < O6:Oid : C | none > => < O6:Oid : V:C | none > .
55 Advisory: <standard input>, line 31 (omod FOO): class argument C in object
56 instance < O7:Oid : C | none > differing from class argument V:C in
57 left-hand side object instance < O7:Oid : V:C | none > disables object
58 completion.
59 Advisory: <standard input>, line 31 (omod FOO): transformation not performed
60 for:
61 rl m(F:Foo) < O7:Oid : V:C | none > => < O7:Oid : C | none > .
62 Advisory: <standard input>, line 33 (omod FOO): class argument C2 in object
63 instance < O8:Oid : C2 | none > differing from class argument C in
64 left-hand side object instance < O8:Oid : C | none > disables object
65 completion.
66 Advisory: <standard input>, line 33 (omod FOO): transformation not performed
67 for:
68 rl m(F:Foo) < O8:Oid : C | none > => < O8:Oid : C2 | none > .
69 Advisory: <standard input>, line 34 (omod FOO): class argument V:C2 in object
70 instance < O9:Oid : V:C2 | none > differing from class argument V:C in
71 left-hand side object instance < O9:Oid : V:C | none > disables object
72 completion.
73 Advisory: <standard input>, line 34 (omod FOO): transformation not performed
74 for:
75 rl m(F:Foo) < O9:Oid : V:C | none > => < O9:Oid : V:C2 | none > .
76 Warning: <standard input>, line 34 (omod FOO): variable V:C2 is used before it
77 is bound in rule:
78 rl m(F:Foo) < O9:Oid : V:C | none > => < O9:Oid : V:C2 | none > .
79 op _`,_ left-identity collapse from AttributeSet to Attribute is unequal.
80 op __ left-identity collapse from Configuration to Object is unequal.
81 mod FOO is
82 including CONFIGURATION .
83 sorts Foo C C2 .
84 subsorts C C2 < Cid .
85 op m : Foo -> Msg [ctor msg] .
86 op junk : -> Cid .
87 op C : -> C [ctor] .
88 op C2 : -> C2 [ctor] .
89 rl m(F:Foo) < O:Oid : V:C | Atts:AttributeSet > => < O:Oid : V:C |
90 Atts:AttributeSet > .
91 rl m(F:Foo) < O:Oid : V:C | Atts:AttributeSet > => < O:Oid : V:C |
92 Atts:AttributeSet > .
93 rl m(F:Foo) < O1:Oid : junk | none > => < O1:Oid : junk | none > .
94 rl m(F:Foo) < O2:Oid : C | none > => < O2:Oid : junk | none > .
95 rl m(F:Foo) < O3:Oid : junk | none > => < O3:Oid : C | none > .
96 rl m(F:Foo) < O4:Oid : V:C | none > => < O4:Oid : junk | none > .
97 rl m(F:Foo) < O5:Oid : junk | none > => < O5:Oid : V:C | none > [nonexec] .
98 rl m(F:Foo) < O6:Oid : C | none > => < O6:Oid : V:C | none > [nonexec] .
99 rl m(F:Foo) < O7:Oid : V:C | none > => < O7:Oid : C | none > .
100 rl m(F:Foo) < O8:Oid : C | none > => < O8:Oid : C2 | none > .
101 rl m(F:Foo) < O9:Oid : V:C | none > => < O9:Oid : V:C2 | none > [nonexec] .
102 endm
103 Considering object completion on:
104 rl m(F:Cid) < O:Oid : V:C | none > => < O:Oid : V:C | none > .
105 Transformed rule:
106 rl m(F:Cid) < O:Oid : V:C | Atts:AttributeSet > => < O:Oid : V:C |
107 Atts:AttributeSet > .
108
109 Advisory: <standard input>, line 50 (omod BAR): using class variable V:C from
110 object instance < O:Oid : V:C | none > for other purposes disables object
111 completion.
112 Advisory: <standard input>, line 50 (omod BAR): transformation not performed
113 for:
114 rl m(V:C) < O:Oid : V:C | none > => < O:Oid : V:C | none > .
115 op _`,_ left-identity collapse from AttributeSet to Attribute is unequal.
116 op __ left-identity collapse from Configuration to Object is unequal.
117 mod BAR is
118 including CONFIGURATION .
119 sorts Foo C .
120 subsort C < Cid .
121 op m : Cid -> Msg [ctor msg] .
122 op C : -> C [ctor] .
123 rl m(F:Cid) < O:Oid : V:C | Atts:AttributeSet > => < O:Oid : V:C |
124 Atts:AttributeSet > .
125 rl m(V:C) < O:Oid : V:C | none > => < O:Oid : V:C | none > .
126 endm
127 Advisory: redefining module BAR.
128 Considering object completion on:
129 crl < O:Oid : C | none > => < O:Oid : C | none > if < O:Oid : C | none > = <
130 O:Oid : C | none > .
131 Transformed rule:
132 crl < O:Oid : V:C | Atts:AttributeSet > => < O:Oid : V:C | Atts:AttributeSet
133 > if < O:Oid : V:C | Atts:AttributeSet > = < O:Oid : V:C |
134 Atts:AttributeSet > .
135
136 Considering object completion on:
137 rl < O:Oid : C | none > => < O:Oid : C | none > < O:Oid : C | none > .
138 Transformed rule:
139 rl < O:Oid : V:C | Atts:AttributeSet > => < O:Oid : V:C | Atts:AttributeSet >
140 < O:Oid : V:C | Atts:AttributeSet > .
141
142 Advisory: <standard input>, line 68 (omod BAR): objects < O:Oid : C | none >
143 and < O:Oid : C | none > occurring in the left-hand side of a statement
144 have same name which disables object completion.
145 Advisory: <standard input>, line 68 (omod BAR): transformation not performed
146 for:
147 rl < O:Oid : C | none > < O:Oid : C | none > => < O:Oid : C | none > .
148 op _`,_ left-identity collapse from AttributeSet to Attribute is unequal.
149 op __ left-identity collapse from Configuration to Object is unequal.
150 mod BAR is
151 including CONFIGURATION .
152 sorts Foo C .
153 subsort C < Cid .
154 op C : -> C [ctor] .
155 crl < O:Oid : V:C | Atts:AttributeSet > => < O:Oid : V:C | Atts:AttributeSet
156 > if < O:Oid : V:C | Atts:AttributeSet > = < O:Oid : V:C |
157 Atts:AttributeSet > .
158 rl < O:Oid : V:C | Atts:AttributeSet > => < O:Oid : V:C | Atts:AttributeSet >
159 < O:Oid : V:C | Atts:AttributeSet > .
160 rl < O:Oid : C | none > < O:Oid : C | none > => < O:Oid : C | none > .
161 endm
162 Advisory: redefining module BAR.
163 Advisory: <standard input>, line 80 (omod BAR): object < O:Oid : C | none >
164 appearing in condition fragment pattern disables object completion.
165 Advisory: <standard input>, line 80 (omod BAR): transformation not performed
166 for:
167 crl < O:Oid : C | none > => < O:Oid : C | none > if < O:Oid : C | none > := <
168 O:Oid : C | none > .
169 Advisory: <standard input>, line 80 (omod BAR): all the variables in the
170 left-hand side of assignment condition fragment < O:Oid : C | none > := <
171 O:Oid : C | none > are bound before the matching takes place.
172 Advisory: <standard input>, line 81 (omod BAR): object < O:Oid : C | none >
173 appearing in condition fragment pattern disables object completion.
174 Advisory: <standard input>, line 81 (omod BAR): transformation not performed
175 for:
176 crl < O:Oid : C | none > => < O:Oid : C | none > if < O:Oid : C | none > => <
177 O:Oid : C | none > .
178 op _`,_ left-identity collapse from AttributeSet to Attribute is unequal.
179 op __ left-identity collapse from Configuration to Object is unequal.
180 mod BAR is
181 including CONFIGURATION .
182 sorts Foo C .
183 subsort C < Cid .
184 op C : -> C [ctor] .
185 crl < O:Oid : C | none > => < O:Oid : C | none > if < O:Oid : C | none > := <
186 O:Oid : C | none > .
187 crl < O:Oid : C | none > => < O:Oid : C | none > if < O:Oid : C | none > => <
188 O:Oid : C | none > .
189 endm
190 Considering object completion on:
191 rl < O:Oid : C | a : X > => < O:Oid : C | a : X > .
192 Transformed rule:
193 rl < O:Oid : V:C | a : X, Atts:AttributeSet > => < O:Oid : V:C | a : X,
194 Atts:AttributeSet > .
195
196 Considering object completion on:
197 rl < O:Oid : C | none > => < O:Oid : C | a : k > .
198 Transformed rule:
199 rl < O:Oid : V:C | a : A:[Foo], Atts:AttributeSet > => < O:Oid : V:C | a : k,
200 Atts:AttributeSet > .
201
202 Considering object completion on:
203 rl < O:Oid : C | a : X > => < O:Oid : C | none > .
204 Transformed rule:
205 rl < O:Oid : V:C | a : X, Atts:AttributeSet > => < O:Oid : V:C | a : X,
206 Atts:AttributeSet > .
207
208 Considering object completion on:
209 rl < O:Oid : C | a : X, A:AttributeSet > => < O:Oid : C | a : X,
210 A:AttributeSet > .
211 Transformed rule:
212 rl < O:Oid : V:C | a : X, A:AttributeSet > => < O:Oid : V:C | a : X,
213 A:AttributeSet > .
214
215 Considering object completion on:
216 rl < O:Oid : C | A:AttributeSet > => < O:Oid : C | a : k, A:AttributeSet > .
217 Transformed rule:
218 rl < O:Oid : V:C | a : A2:[Foo], A:AttributeSet > => < O:Oid : V:C | a : k,
219 A:AttributeSet > .
220
221 Considering object completion on:
222 rl < O:Oid : C | a : X, A:AttributeSet > => < O:Oid : C | A:AttributeSet > .
223 Transformed rule:
224 rl < O:Oid : V:C | a : X, A:AttributeSet > => < O:Oid : V:C | a : X,
225 A:AttributeSet > .
226
227 Advisory: <standard input>, line 107 (omod BAZ): unrecognized term junk in
228 attribute set disables object completion.
229 Advisory: <standard input>, line 107 (omod BAZ): unrecognized term junk in
230 attribute set disables object completion.
231 Advisory: <standard input>, line 107 (omod BAZ): transformation not performed
232 for:
233 rl < O:Oid : C | a : X, junk > => < O:Oid : C | a : X, junk > .
234 Advisory: <standard input>, line 108 (omod BAZ): unrecognized term junk in
235 attribute set disables object completion.
236 Advisory: <standard input>, line 108 (omod BAZ): transformation not performed
237 for:
238 rl < O:Oid : C | a : X, junk > => < O:Oid : C | a : X > .
239 Advisory: <standard input>, line 109 (omod BAZ): unrecognized term junk in
240 attribute set disables object completion.
241 Advisory: <standard input>, line 109 (omod BAZ): transformation not performed
242 for:
243 rl < O:Oid : C | a : X > => < O:Oid : C | a : X, junk > .
244 Advisory: <standard input>, line 111 (omod BAZ): variable B of sort other than
245 AttributeSet in attribute set disables object completion.
246 Advisory: <standard input>, line 111 (omod BAZ): variable B of sort other than
247 AttributeSet in attribute set disables object completion.
248 Advisory: <standard input>, line 111 (omod BAZ): transformation not performed
249 for:
250 rl < O:Oid : C | a : X, B > => < O:Oid : C | a : X, B > .
251 Advisory: <standard input>, line 112 (omod BAZ): variable B of sort other than
252 AttributeSet in attribute set disables object completion.
253 Advisory: <standard input>, line 112 (omod BAZ): transformation not performed
254 for:
255 rl < O:Oid : C | a : X, B > => < O:Oid : C | a : X > .
256 Advisory: <standard input>, line 113 (omod BAZ): variable B of sort other than
257 AttributeSet in attribute set disables object completion.
258 Advisory: <standard input>, line 113 (omod BAZ): transformation not performed
259 for:
260 rl < O:Oid : C | a : X > => < O:Oid : C | a : X, B > .
261 Warning: <standard input>, line 113 (omod BAZ): variable B is used before it is
262 bound in rule:
263 rl < O:Oid : C | a : X > => < O:Oid : C | B, a : X > .
264 Advisory: <standard input>, line 115 (omod BAZ): left-hand side object instance
265 < O:Oid : C | a : X, A:AttributeSet > had a variable A:AttributeSet in its
266 attribute set while object instance < O:Oid : C | a : X > does not. This
267 disables object completion.
268 Advisory: <standard input>, line 115 (omod BAZ): transformation not performed
269 for:
270 rl < O:Oid : C | a : X, A:AttributeSet > => < O:Oid : C | a : X > .
271 Advisory: <standard input>, line 116 (omod BAZ): object instance < O:Oid : C |
272 a : X, A:AttributeSet > has a variable A:AttributeSet in its attribute set,
273 which does not appear in the left-hand side occurrence of this object, <
274 O:Oid : C | a : X >. This disables object completion.
275 Advisory: <standard input>, line 116 (omod BAZ): transformation not performed
276 for:
277 rl < O:Oid : C | a : X > => < O:Oid : C | a : X, A:AttributeSet > .
278 Warning: <standard input>, line 116 (omod BAZ): variable A:AttributeSet is used
279 before it is bound in rule:
280 rl < O:Oid : C | a : X > => < O:Oid : C | A:AttributeSet, a : X > .
281 Advisory: <standard input>, line 117 (omod BAZ): using attribute set variable
282 A:AttributeSet from object instance < O:Oid : C | a : X, A:AttributeSet >
283 for other purposes disables object completion.
284 Advisory: <standard input>, line 117 (omod BAZ): transformation not performed
285 for:
286 rl m(A:AttributeSet) < O:Oid : C | a : X, A:AttributeSet > => < O:Oid : C | a
287 : X, A:AttributeSet > .
288 Advisory: <standard input>, line 119 (omod BAZ): duplicate attribute arguments
289 a : X and a : X disable object completion.
290 Advisory: <standard input>, line 119 (omod BAZ): transformation not performed
291 for:
292 rl < O:Oid : C | a : X, a : X > => < O:Oid : C | a : X > .
293 Advisory: <standard input>, line 120 (omod BAZ): duplicate attribute arguments
294 a : X and a : X disable object completion.
295 Advisory: <standard input>, line 120 (omod BAZ): transformation not performed
296 for:
297 rl < O:Oid : C | a : X > => < O:Oid : C | a : X, a : X > .
298 Advisory: <standard input>, line 121 (omod BAZ): duplicate attribute arguments
299 a : X and a : X disable object completion.
300 Advisory: <standard input>, line 121 (omod BAZ): duplicate attribute arguments
301 a : X and a : X disable object completion.
302 Advisory: <standard input>, line 121 (omod BAZ): transformation not performed
303 for:
304 rl < O:Oid : C | a : X, a : X > => < O:Oid : C | a : X, a : X > .
305 Advisory: <standard input>, line 123 (omod BAZ): multiple variables
306 A:AttributeSet and A2:AttributeSet in attribute set disables object
307 completion.
308 Advisory: <standard input>, line 123 (omod BAZ): multiple variables
309 A:AttributeSet and A2:AttributeSet in attribute set disables object
310 completion.
311 Advisory: <standard input>, line 123 (omod BAZ): transformation not performed
312 for:
313 rl < O:Oid : C | a : X, A:AttributeSet, A2:AttributeSet > => < O:Oid : C | a
314 : X, A:AttributeSet, A2:AttributeSet > .
315 Advisory: <standard input>, line 124 (omod BAZ): object instance < O:Oid : C |
316 a : X, A2:AttributeSet > has a variable A2:AttributeSet in its attribute
317 set, while left-hand side object instance < O:Oid : C | a : X,
318 A:AttributeSet > has a variable A:AttributeSet. This disables object
319 completion.
320 Advisory: <standard input>, line 124 (omod BAZ): transformation not performed
321 for:
322 rl < O:Oid : C | a : X, A:AttributeSet > => < O:Oid : C | a : X,
323 A2:AttributeSet > .
324 Warning: <standard input>, line 124 (omod BAZ): variable A2:AttributeSet is
325 used before it is bound in rule:
326 rl < O:Oid : C | A:AttributeSet, a : X > => < O:Oid : C | A2:AttributeSet, a :
327 X > .
328 op _`,_ left-identity collapse from AttributeSet to Attribute is unequal.
329 op __ left-identity collapse from Configuration to Object is unequal.
330 mod BAZ is
331 including CONFIGURATION .
332 sorts Foo C .
333 subsort C < Cid .
334 op m : AttributeSet -> Msg [ctor msg] .
335 op junk : -> Attribute .
336 op k : -> Foo .
337 op C : -> C [ctor] .
338 op a :_ : Foo -> Attribute [ctor prec 15 gather (&)] .
339 var B : Attribute .
340 var X : Foo .
341 rl < O:Oid : V:C | Atts:AttributeSet, a : X > => < O:Oid : V:C |
342 Atts:AttributeSet, a : X > .
343 rl < O:Oid : V:C | Atts:AttributeSet, a : A:[Foo] > => < O:Oid : V:C |
344 Atts:AttributeSet, a : k > .
345 rl < O:Oid : V:C | Atts:AttributeSet, a : X > => < O:Oid : V:C |
346 Atts:AttributeSet, a : X > .
347 rl < O:Oid : V:C | A:AttributeSet, a : X > => < O:Oid : V:C | A:AttributeSet,
348 a : X > .
349 rl < O:Oid : V:C | A:AttributeSet, a : A2:[Foo] > => < O:Oid : V:C |
350 A:AttributeSet, a : k > .
351 rl < O:Oid : V:C | A:AttributeSet, a : X > => < O:Oid : V:C | A:AttributeSet,
352 a : X > .
353 rl < O:Oid : C | junk, a : X > => < O:Oid : C | junk, a : X > .
354 rl < O:Oid : C | junk, a : X > => < O:Oid : C | a : X > .
355 rl < O:Oid : C | a : X > => < O:Oid : C | junk, a : X > .
356 rl < O:Oid : C | B, a : X > => < O:Oid : C | B, a : X > .
357 rl < O:Oid : C | B, a : X > => < O:Oid : C | a : X > .
358 rl < O:Oid : C | a : X > => < O:Oid : C | B, a : X > [nonexec] .
359 rl < O:Oid : C | A:AttributeSet, a : X > => < O:Oid : C | a : X > .
360 rl < O:Oid : C | a : X > => < O:Oid : C | A:AttributeSet, a : X > [nonexec] .
361 rl m(A:AttributeSet) < O:Oid : C | A:AttributeSet, a : X > => < O:Oid : C |
362 A:AttributeSet, a : X > .
363 rl < O:Oid : C | a : X, a : X > => < O:Oid : C | a : X > .
364 rl < O:Oid : C | a : X > => < O:Oid : C | a : X, a : X > .
365 rl < O:Oid : C | a : X, a : X > => < O:Oid : C | a : X, a : X > .
366 rl < O:Oid : C | A:AttributeSet, A2:AttributeSet, a : X > => < O:Oid : C | a
367 : X, A:AttributeSet, A2:AttributeSet > .
368 rl < O:Oid : C | A:AttributeSet, a : X > => < O:Oid : C | A2:AttributeSet, a
369 : X > [nonexec] .
370 endm
371 Considering object completion on:
372 rl < O:Oid : C | a : X > => < O:Oid : C | a : X > .
373 Transformed rule:
374 rl < O:Oid : V:C | a : X, Atts:AttributeSet > => < O:Oid : V:C | a : X,
375 Atts:AttributeSet > .
376
377 Considering object completion on:
378 rl < O:Oid : E | a : X > => < O:Oid : E | a : X > .
379 Transformed rule:
380 rl < O:Oid : V:E | a : X, Atts:AttributeSet > => < O:Oid : V:E | a : X,
381 Atts:AttributeSet > .
382
383 Advisory: <standard input>, line 145 (omod QUUX): object occurrence < O:Oid : C
384 | b : X > contains an attribute b : [Foo] that was neither declared for nor
385 inherited by class C.
386 Advisory: <standard input>, line 145 (omod QUUX): object occurrence < O:Oid : C
387 | b : X > contains an attribute b : [Foo] that was neither declared for nor
388 inherited by class C.
389 Considering object completion on:
390 rl < O:Oid : C | b : X > => < O:Oid : C | b : X > .
391 Transformed rule:
392 rl < O:Oid : V:C | b : X, Atts:AttributeSet > => < O:Oid : V:C | b : X,
393 Atts:AttributeSet > .
394
395 op _`,_ left-identity collapse from AttributeSet to Attribute is unequal.
396 op __ left-identity collapse from Configuration to Object is unequal.
397 mod QUUX is
398 including CONFIGURATION .
399 sorts Foo C D E .
400 subsorts C D E < Cid .
401 subsort E < C .
402 op C : -> C [ctor] .
403 op a :_ : Foo -> Attribute [ctor prec 15 gather (&)] .
404 op D : -> D [ctor] .
405 op b :_ : Foo -> Attribute [ctor prec 15 gather (&)] .
406 op E : -> E [ctor] .
407 op c :_ : Foo -> Attribute [ctor prec 15 gather (&)] .
408 var X : Foo .
409 rl < O:Oid : V:C | Atts:AttributeSet, a : X > => < O:Oid : V:C |
410 Atts:AttributeSet, a : X > .
411 rl < O:Oid : V:E | Atts:AttributeSet, a : X > => < O:Oid : V:E |
412 Atts:AttributeSet, a : X > .
413 rl < O:Oid : V:C | Atts:AttributeSet, b : X > => < O:Oid : V:C |
414 Atts:AttributeSet, b : X > .
415 endm
416 Bye.