1 #include "auto_super_init.sep.0.h"
2 /* method auto_super_init#ToolContext#auto_super_init_phase for (self: ToolContext): Phase */
3 val
* auto_super_init__ToolContext__auto_super_init_phase(val
* self
) {
4 val
* var
/* : Phase */;
5 val
* var1
/* : Phase */;
6 var1
= self
->attrs
[COLOR_auto_super_init__ToolContext___auto_super_init_phase
].val
; /* _auto_super_init_phase on <self:ToolContext> */
7 if (unlikely(var1
== NULL
)) {
8 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _auto_super_init_phase");
9 PRINT_ERROR(" (%s:%d)\n", "semantize/auto_super_init.nit", 25);
16 /* method auto_super_init#ToolContext#auto_super_init_phase for (self: Object): Phase */
17 val
* VIRTUAL_auto_super_init__ToolContext__auto_super_init_phase(val
* self
) {
18 val
* var
/* : Phase */;
19 val
* var1
/* : Phase */;
20 val
* var3
/* : Phase */;
21 { /* Inline auto_super_init#ToolContext#auto_super_init_phase (self) on <self:Object(ToolContext)> */
22 var3
= self
->attrs
[COLOR_auto_super_init__ToolContext___auto_super_init_phase
].val
; /* _auto_super_init_phase on <self:Object(ToolContext)> */
23 if (unlikely(var3
== NULL
)) {
24 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _auto_super_init_phase");
25 PRINT_ERROR(" (%s:%d)\n", "semantize/auto_super_init.nit", 25);
35 /* method auto_super_init#AutoSuperInitPhase#process_npropdef for (self: AutoSuperInitPhase, APropdef) */
36 void auto_super_init__AutoSuperInitPhase__process_npropdef(val
* self
, val
* p0
) {
37 val
* var_npropdef
/* var npropdef: APropdef */;
38 short int var
/* : Bool */;
41 val
* var1
/* : ToolContext */;
42 val
* var3
/* : ToolContext */;
43 val
* var4
/* : ModelBuilder */;
45 /* <var_npropdef:APropdef> isa AMethPropdef */
46 cltype
= type_parser_nodes__AMethPropdef
.color
;
47 idtype
= type_parser_nodes__AMethPropdef
.id
;
48 if(cltype
>= var_npropdef
->type
->table_size
) {
51 var
= var_npropdef
->type
->type_table
[cltype
] == idtype
;
55 { /* Inline phase#Phase#toolcontext (self) on <self:AutoSuperInitPhase> */
56 var3
= self
->attrs
[COLOR_phase__Phase___toolcontext
].val
; /* _toolcontext on <self:AutoSuperInitPhase> */
57 if (unlikely(var3
== NULL
)) {
58 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _toolcontext");
59 PRINT_ERROR(" (%s:%d)\n", "phase.nit", 162);
67 var4
= modelbuilder__ToolContext__modelbuilder(var1
);
70 auto_super_init__AMethPropdef__do_auto_super_init(var_npropdef
, var4
); /* Direct call auto_super_init#AMethPropdef#do_auto_super_init on <var_npropdef:APropdef(AMethPropdef)>*/
76 /* method auto_super_init#AutoSuperInitPhase#process_npropdef for (self: Object, APropdef) */
77 void VIRTUAL_auto_super_init__AutoSuperInitPhase__process_npropdef(val
* self
, val
* p0
) {
78 auto_super_init__AutoSuperInitPhase__process_npropdef(self
, p0
); /* Direct call auto_super_init#AutoSuperInitPhase#process_npropdef on <self:Object(AutoSuperInitPhase)>*/
81 /* method auto_super_init#AutoSuperInitVisitor#visit for (self: AutoSuperInitVisitor, ANode) */
82 void auto_super_init__AutoSuperInitVisitor__visit(val
* self
, val
* p0
) {
83 val
* var_n
/* var n: ANode */;
86 ((void (*)(val
*, val
*))(var_n
->class->vft
[COLOR_auto_super_init__ANode__accept_auto_super_init
]))(var_n
, self
) /* accept_auto_super_init on <var_n:ANode>*/;
89 ((void (*)(val
*, val
*))(var_n
->class->vft
[COLOR_parser_nodes__ANode__visit_all
]))(var_n
, self
) /* visit_all on <var_n:ANode>*/;
93 /* method auto_super_init#AutoSuperInitVisitor#visit for (self: Object, ANode) */
94 void VIRTUAL_auto_super_init__AutoSuperInitVisitor__visit(val
* self
, val
* p0
) {
95 auto_super_init__AutoSuperInitVisitor__visit(self
, p0
); /* Direct call auto_super_init#AutoSuperInitVisitor#visit on <self:Object(AutoSuperInitVisitor)>*/
98 /* method auto_super_init#AutoSuperInitVisitor#has_explicit_super_init for (self: AutoSuperInitVisitor): nullable ANode */
99 val
* auto_super_init__AutoSuperInitVisitor__has_explicit_super_init(val
* self
) {
100 val
* var
/* : nullable ANode */;
101 val
* var1
/* : nullable ANode */;
102 var1
= self
->attrs
[COLOR_auto_super_init__AutoSuperInitVisitor___has_explicit_super_init
].val
; /* _has_explicit_super_init on <self:AutoSuperInitVisitor> */
107 /* method auto_super_init#AutoSuperInitVisitor#has_explicit_super_init for (self: Object): nullable ANode */
108 val
* VIRTUAL_auto_super_init__AutoSuperInitVisitor__has_explicit_super_init(val
* self
) {
109 val
* var
/* : nullable ANode */;
110 val
* var1
/* : nullable ANode */;
111 val
* var3
/* : nullable ANode */;
112 { /* Inline auto_super_init#AutoSuperInitVisitor#has_explicit_super_init (self) on <self:Object(AutoSuperInitVisitor)> */
113 var3
= self
->attrs
[COLOR_auto_super_init__AutoSuperInitVisitor___has_explicit_super_init
].val
; /* _has_explicit_super_init on <self:Object(AutoSuperInitVisitor)> */
121 /* method auto_super_init#AutoSuperInitVisitor#has_explicit_super_init= for (self: AutoSuperInitVisitor, nullable ANode) */
122 void auto_super_init__AutoSuperInitVisitor__has_explicit_super_init_61d(val
* self
, val
* p0
) {
123 self
->attrs
[COLOR_auto_super_init__AutoSuperInitVisitor___has_explicit_super_init
].val
= p0
; /* _has_explicit_super_init on <self:AutoSuperInitVisitor> */
126 /* method auto_super_init#AutoSuperInitVisitor#has_explicit_super_init= for (self: Object, nullable ANode) */
127 void VIRTUAL_auto_super_init__AutoSuperInitVisitor__has_explicit_super_init_61d(val
* self
, val
* p0
) {
128 { /* Inline auto_super_init#AutoSuperInitVisitor#has_explicit_super_init= (self,p0) on <self:Object(AutoSuperInitVisitor)> */
129 self
->attrs
[COLOR_auto_super_init__AutoSuperInitVisitor___has_explicit_super_init
].val
= p0
; /* _has_explicit_super_init on <self:Object(AutoSuperInitVisitor)> */
134 /* method auto_super_init#AutoSuperInitVisitor#is_broken for (self: AutoSuperInitVisitor): Bool */
135 short int auto_super_init__AutoSuperInitVisitor__is_broken(val
* self
) {
136 short int var
/* : Bool */;
137 short int var1
/* : Bool */;
138 var1
= self
->attrs
[COLOR_auto_super_init__AutoSuperInitVisitor___is_broken
].s
; /* _is_broken on <self:AutoSuperInitVisitor> */
143 /* method auto_super_init#AutoSuperInitVisitor#is_broken for (self: Object): Bool */
144 short int VIRTUAL_auto_super_init__AutoSuperInitVisitor__is_broken(val
* self
) {
145 short int var
/* : Bool */;
146 short int var1
/* : Bool */;
147 short int var3
/* : Bool */;
148 { /* Inline auto_super_init#AutoSuperInitVisitor#is_broken (self) on <self:Object(AutoSuperInitVisitor)> */
149 var3
= self
->attrs
[COLOR_auto_super_init__AutoSuperInitVisitor___is_broken
].s
; /* _is_broken on <self:Object(AutoSuperInitVisitor)> */
157 /* method auto_super_init#AutoSuperInitVisitor#is_broken= for (self: AutoSuperInitVisitor, Bool) */
158 void auto_super_init__AutoSuperInitVisitor__is_broken_61d(val
* self
, short int p0
) {
159 self
->attrs
[COLOR_auto_super_init__AutoSuperInitVisitor___is_broken
].s
= p0
; /* _is_broken on <self:AutoSuperInitVisitor> */
162 /* method auto_super_init#AutoSuperInitVisitor#is_broken= for (self: Object, Bool) */
163 void VIRTUAL_auto_super_init__AutoSuperInitVisitor__is_broken_61d(val
* self
, short int p0
) {
164 { /* Inline auto_super_init#AutoSuperInitVisitor#is_broken= (self,p0) on <self:Object(AutoSuperInitVisitor)> */
165 self
->attrs
[COLOR_auto_super_init__AutoSuperInitVisitor___is_broken
].s
= p0
; /* _is_broken on <self:Object(AutoSuperInitVisitor)> */
170 /* method auto_super_init#AMethPropdef#auto_super_inits for (self: AMethPropdef): nullable Array[CallSite] */
171 val
* auto_super_init__AMethPropdef__auto_super_inits(val
* self
) {
172 val
* var
/* : nullable Array[CallSite] */;
173 val
* var1
/* : nullable Array[CallSite] */;
174 var1
= self
->attrs
[COLOR_auto_super_init__AMethPropdef___auto_super_inits
].val
; /* _auto_super_inits on <self:AMethPropdef> */
179 /* method auto_super_init#AMethPropdef#auto_super_inits for (self: Object): nullable Array[CallSite] */
180 val
* VIRTUAL_auto_super_init__AMethPropdef__auto_super_inits(val
* self
) {
181 val
* var
/* : nullable Array[CallSite] */;
182 val
* var1
/* : nullable Array[CallSite] */;
183 val
* var3
/* : nullable Array[CallSite] */;
184 { /* Inline auto_super_init#AMethPropdef#auto_super_inits (self) on <self:Object(AMethPropdef)> */
185 var3
= self
->attrs
[COLOR_auto_super_init__AMethPropdef___auto_super_inits
].val
; /* _auto_super_inits on <self:Object(AMethPropdef)> */
193 /* method auto_super_init#AMethPropdef#auto_super_inits= for (self: AMethPropdef, nullable Array[CallSite]) */
194 void auto_super_init__AMethPropdef__auto_super_inits_61d(val
* self
, val
* p0
) {
195 self
->attrs
[COLOR_auto_super_init__AMethPropdef___auto_super_inits
].val
= p0
; /* _auto_super_inits on <self:AMethPropdef> */
198 /* method auto_super_init#AMethPropdef#auto_super_inits= for (self: Object, nullable Array[CallSite]) */
199 void VIRTUAL_auto_super_init__AMethPropdef__auto_super_inits_61d(val
* self
, val
* p0
) {
200 { /* Inline auto_super_init#AMethPropdef#auto_super_inits= (self,p0) on <self:Object(AMethPropdef)> */
201 self
->attrs
[COLOR_auto_super_init__AMethPropdef___auto_super_inits
].val
= p0
; /* _auto_super_inits on <self:Object(AMethPropdef)> */
206 /* method auto_super_init#AMethPropdef#auto_super_call for (self: AMethPropdef): Bool */
207 short int auto_super_init__AMethPropdef__auto_super_call(val
* self
) {
208 short int var
/* : Bool */;
209 short int var1
/* : Bool */;
210 var1
= self
->attrs
[COLOR_auto_super_init__AMethPropdef___auto_super_call
].s
; /* _auto_super_call on <self:AMethPropdef> */
215 /* method auto_super_init#AMethPropdef#auto_super_call for (self: Object): Bool */
216 short int VIRTUAL_auto_super_init__AMethPropdef__auto_super_call(val
* self
) {
217 short int var
/* : Bool */;
218 short int var1
/* : Bool */;
219 short int var3
/* : Bool */;
220 { /* Inline auto_super_init#AMethPropdef#auto_super_call (self) on <self:Object(AMethPropdef)> */
221 var3
= self
->attrs
[COLOR_auto_super_init__AMethPropdef___auto_super_call
].s
; /* _auto_super_call on <self:Object(AMethPropdef)> */
229 /* method auto_super_init#AMethPropdef#auto_super_call= for (self: AMethPropdef, Bool) */
230 void auto_super_init__AMethPropdef__auto_super_call_61d(val
* self
, short int p0
) {
231 self
->attrs
[COLOR_auto_super_init__AMethPropdef___auto_super_call
].s
= p0
; /* _auto_super_call on <self:AMethPropdef> */
234 /* method auto_super_init#AMethPropdef#auto_super_call= for (self: Object, Bool) */
235 void VIRTUAL_auto_super_init__AMethPropdef__auto_super_call_61d(val
* self
, short int p0
) {
236 { /* Inline auto_super_init#AMethPropdef#auto_super_call= (self,p0) on <self:Object(AMethPropdef)> */
237 self
->attrs
[COLOR_auto_super_init__AMethPropdef___auto_super_call
].s
= p0
; /* _auto_super_call on <self:Object(AMethPropdef)> */
242 /* method auto_super_init#AMethPropdef#do_auto_super_init for (self: AMethPropdef, ModelBuilder) */
243 void auto_super_init__AMethPropdef__do_auto_super_init(val
* self
, val
* p0
) {
244 val
* var_modelbuilder
/* var modelbuilder: ModelBuilder */;
245 val
* var
/* : nullable ANode */;
246 val
* var2
/* : nullable ANode */;
247 short int var3
/* : Bool */;
250 const char* var_class_name
;
251 val
* var4
/* : nullable MClassDef */;
252 val
* var6
/* : nullable MClassDef */;
253 val
* var_mclassdef
/* var mclassdef: MClassDef */;
254 val
* var7
/* : nullable MPropDef */;
255 val
* var9
/* : nullable MPropDef */;
256 val
* var_mpropdef
/* var mpropdef: MMethodDef */;
257 val
* var10
/* : MClassDef */;
258 val
* var12
/* : MClassDef */;
259 val
* var13
/* : MModule */;
260 val
* var15
/* : MModule */;
261 val
* var_mmodule
/* var mmodule: MModule */;
262 val
* var16
/* : MClassType */;
263 val
* var18
/* : MClassType */;
264 val
* var_anchor
/* var anchor: MClassType */;
265 val
* var19
/* : MClass */;
266 val
* var21
/* : MClass */;
267 val
* var22
/* : MClassType */;
268 val
* var24
/* : MClassType */;
269 val
* var_recvtype
/* var recvtype: MClassType */;
271 val
* var25
/* : String */;
272 char* var26
/* : NativeString */;
273 long var27
/* : Int */;
274 val
* var28
/* : FlatString */;
275 val
* var29
/* : nullable AAnnotation */;
276 val
* var_nosuper
/* var nosuper: nullable AAnnotation */;
277 val
* var30
/* : MProperty */;
278 val
* var32
/* : MProperty */;
279 short int var33
/* : Bool */;
280 short int var35
/* : Bool */;
281 short int var36
/* : Bool */;
282 val
* var37
/* : null */;
283 short int var38
/* : Bool */;
284 short int var39
/* : Bool */;
285 val
* var_other
/* var other: nullable Object */;
286 short int var41
/* : Bool */;
287 short int var42
/* : Bool */;
288 short int var43
/* : Bool */;
289 static val
* varonce44
;
290 val
* var45
/* : String */;
291 char* var46
/* : NativeString */;
292 long var47
/* : Int */;
293 val
* var48
/* : FlatString */;
294 val
* var49
/* : MClassDef */;
295 val
* var51
/* : MClassDef */;
296 short int var52
/* : Bool */;
297 short int var53
/* : Bool */;
298 short int var54
/* : Bool */;
299 short int var_skip
/* var skip: Bool */;
300 val
* var55
/* : nullable POSetElement[MClassDef] */;
301 val
* var57
/* : nullable POSetElement[MClassDef] */;
302 val
* var58
/* : Collection[Object] */;
303 val
* var_
/* var : Collection[MClassDef] */;
304 val
* var59
/* : Iterator[nullable Object] */;
305 val
* var_60
/* var : Iterator[MClassDef] */;
306 short int var61
/* : Bool */;
307 val
* var62
/* : nullable Object */;
308 val
* var_cd
/* var cd: MClassDef */;
309 val
* var63
/* : MClass */;
310 val
* var65
/* : MClass */;
311 val
* var66
/* : MClassKind */;
312 val
* var68
/* : MClassKind */;
313 short int var69
/* : Bool */;
314 short int var71
/* : Bool */;
315 short int var72
/* : Bool */;
316 val
* var74
/* : nullable AExpr */;
317 val
* var76
/* : nullable AExpr */;
318 val
* var_nblock
/* var nblock: nullable AExpr */;
319 val
* var77
/* : null */;
320 short int var78
/* : Bool */;
321 short int var79
/* : Bool */;
322 short int var81
/* : Bool */;
323 short int var82
/* : Bool */;
324 short int var83
/* : Bool */;
325 val
* var84
/* : AutoSuperInitVisitor */;
326 val
* var_v
/* var v: AutoSuperInitVisitor */;
327 val
* var85
/* : nullable ANode */;
328 val
* var87
/* : nullable ANode */;
329 val
* var_anode
/* var anode: nullable ANode */;
330 val
* var88
/* : null */;
331 short int var89
/* : Bool */;
332 short int var90
/* : Bool */;
333 short int var92
/* : Bool */;
334 short int var93
/* : Bool */;
335 short int var94
/* : Bool */;
336 val
* var95
/* : null */;
337 short int var96
/* : Bool */;
338 short int var97
/* : Bool */;
339 short int var99
/* : Bool */;
340 short int var100
/* : Bool */;
341 short int var101
/* : Bool */;
342 static val
* varonce102
;
343 val
* var103
/* : String */;
344 char* var104
/* : NativeString */;
345 long var105
/* : Int */;
346 val
* var106
/* : FlatString */;
347 short int var107
/* : Bool */;
348 short int var109
/* : Bool */;
349 val
* var110
/* : null */;
350 short int var111
/* : Bool */;
351 short int var112
/* : Bool */;
352 short int var114
/* : Bool */;
353 short int var115
/* : Bool */;
354 short int var116
/* : Bool */;
355 short int var117
/* : Bool */;
356 short int var118
/* : Bool */;
357 short int var119
/* : Bool */;
358 short int var121
/* : Bool */;
359 val
* var123
/* : Array[CallSite] */;
360 val
* var_auto_super_inits
/* var auto_super_inits: Array[CallSite] */;
361 val
* var124
/* : Array[MClassType] */;
362 val
* var126
/* : Array[MClassType] */;
363 val
* var_127
/* var : Array[MClassType] */;
364 val
* var128
/* : ArrayIterator[nullable Object] */;
365 val
* var_129
/* var : ArrayIterator[MClassType] */;
366 short int var130
/* : Bool */;
367 val
* var131
/* : nullable Object */;
368 val
* var_msupertype
/* var msupertype: MClassType */;
369 val
* var132
/* : MClass */;
370 val
* var134
/* : MClass */;
371 val
* var135
/* : MClassKind */;
372 val
* var137
/* : MClassKind */;
373 short int var138
/* : Bool */;
374 short int var140
/* : Bool */;
375 short int var141
/* : Bool */;
376 val
* var143
/* : MClassType */;
377 val
* var145
/* : MClassType */;
378 val
* var146
/* : MClassType */;
379 val
* var147
/* : MProperty */;
380 val
* var149
/* : MProperty */;
381 val
* var150
/* : String */;
382 val
* var152
/* : String */;
383 val
* var153
/* : nullable MProperty */;
384 val
* var_candidate
/* var candidate: nullable MProperty */;
385 val
* var154
/* : null */;
386 short int var155
/* : Bool */;
387 short int var156
/* : Bool */;
388 val
* var_other158
/* var other: nullable Object */;
389 short int var159
/* : Bool */;
390 short int var161
/* : Bool */;
391 static val
* varonce162
;
392 val
* var163
/* : String */;
393 char* var164
/* : NativeString */;
394 long var165
/* : Int */;
395 val
* var166
/* : FlatString */;
396 val
* var167
/* : nullable MProperty */;
397 val
* var168
/* : null */;
398 short int var169
/* : Bool */;
399 short int var170
/* : Bool */;
400 short int var172
/* : Bool */;
401 short int var174
/* : Bool */;
402 static val
* varonce175
;
403 val
* var176
/* : String */;
404 char* var177
/* : NativeString */;
405 long var178
/* : Int */;
406 val
* var179
/* : FlatString */;
407 static val
* varonce180
;
408 val
* var181
/* : String */;
409 char* var182
/* : NativeString */;
410 long var183
/* : Int */;
411 val
* var184
/* : FlatString */;
412 val
* var185
/* : MProperty */;
413 val
* var187
/* : MProperty */;
414 val
* var188
/* : String */;
415 val
* var190
/* : String */;
416 static val
* varonce191
;
417 val
* var192
/* : String */;
418 char* var193
/* : NativeString */;
419 long var194
/* : Int */;
420 val
* var195
/* : FlatString */;
421 static val
* varonce196
;
422 val
* var197
/* : String */;
423 char* var198
/* : NativeString */;
424 long var199
/* : Int */;
425 val
* var200
/* : FlatString */;
426 val
* var201
/* : Array[Object] */;
427 long var202
/* : Int */;
428 val
* var203
/* : NativeArray[Object] */;
429 val
* var204
/* : String */;
430 short int var205
/* : Bool */;
433 short int var208
/* : Bool */;
434 short int var210
/* : Bool */;
435 val
* var211
/* : Array[MPropDef] */;
436 val
* var_candidatedefs
/* var candidatedefs: Array[MMethodDef] */;
437 val
* var212
/* : nullable Object */;
438 val
* var_candidatedef
/* var candidatedef: MMethodDef */;
439 val
* var213
/* : nullable MSignature */;
440 val
* var214
/* : nullable MSignature */;
441 val
* var216
/* : nullable MSignature */;
442 val
* var217
/* : nullable MSignature */;
443 val
* var219
/* : nullable MSignature */;
444 val
* var_msignature
/* var msignature: nullable MSignature */;
445 short int var220
/* : Bool */;
446 val
* var221
/* : MSignature */;
447 val
* var222
/* : CallSite */;
448 short int var223
/* : Bool */;
449 short int var224
/* : Bool */;
450 val
* var_callsite
/* var callsite: CallSite */;
451 val
* var227
/* : nullable MMethod */;
452 val
* var229
/* : nullable MMethod */;
453 val
* var_the_root_init_mmethod
/* var the_root_init_mmethod: nullable MMethod */;
454 short int var230
/* : Bool */;
455 val
* var231
/* : null */;
456 short int var232
/* : Bool */;
457 short int var233
/* : Bool */;
458 short int var235
/* : Bool */;
459 short int var236
/* : Bool */;
460 short int var237
/* : Bool */;
461 short int var_238
/* var : Bool */;
462 short int var239
/* : Bool */;
463 val
* var240
/* : Array[MPropDef] */;
464 val
* var_candidatedefs241
/* var candidatedefs: Array[MMethodDef] */;
465 val
* var242
/* : nullable Object */;
466 val
* var_candidatedef243
/* var candidatedef: MMethodDef */;
467 long var244
/* : Int */;
468 long var246
/* : Int */;
469 long var247
/* : Int */;
470 short int var248
/* : Bool */;
471 short int var250
/* : Bool */;
474 const char* var_class_name253
;
475 short int var254
/* : Bool */;
476 val
* var_255
/* var : Array[MMethodDef] */;
477 val
* var256
/* : ArrayIterator[nullable Object] */;
478 val
* var_257
/* var : ArrayIterator[MMethodDef] */;
479 short int var258
/* : Bool */;
480 val
* var259
/* : nullable Object */;
481 val
* var_spd
/* var spd: MMethodDef */;
482 val
* var260
/* : Array[MProperty] */;
483 val
* var262
/* : Array[MProperty] */;
484 long var263
/* : Int */;
485 long var265
/* : Int */;
486 val
* var266
/* : Array[MProperty] */;
487 val
* var268
/* : Array[MProperty] */;
488 long var269
/* : Int */;
489 long var271
/* : Int */;
490 short int var272
/* : Bool */;
491 short int var274
/* : Bool */;
494 const char* var_class_name277
;
495 short int var278
/* : Bool */;
496 val
* var_281
/* var : Array[MMethodDef] */;
497 val
* var282
/* : ArrayIterator[nullable Object] */;
498 val
* var_283
/* var : ArrayIterator[MMethodDef] */;
499 short int var284
/* : Bool */;
500 val
* var285
/* : nullable Object */;
501 val
* var_spd286
/* var spd: MMethodDef */;
502 long var287
/* : Int */;
503 long var_i
/* var i: Int */;
504 val
* var288
/* : Array[MProperty] */;
505 val
* var290
/* : Array[MProperty] */;
506 val
* var_291
/* var : Array[MProperty] */;
507 val
* var292
/* : ArrayIterator[nullable Object] */;
508 val
* var_293
/* var : ArrayIterator[MProperty] */;
509 short int var294
/* : Bool */;
510 val
* var295
/* : nullable Object */;
511 val
* var_p
/* var p: MProperty */;
512 val
* var296
/* : Array[MProperty] */;
513 val
* var298
/* : Array[MProperty] */;
514 val
* var299
/* : nullable Object */;
515 short int var300
/* : Bool */;
516 short int var301
/* : Bool */;
517 short int var303
/* : Bool */;
518 short int var304
/* : Bool */;
519 short int var305
/* : Bool */;
520 static val
* varonce306
;
521 val
* var307
/* : String */;
522 char* var308
/* : NativeString */;
523 long var309
/* : Int */;
524 val
* var310
/* : FlatString */;
525 static val
* varonce311
;
526 val
* var312
/* : String */;
527 char* var313
/* : NativeString */;
528 long var314
/* : Int */;
529 val
* var315
/* : FlatString */;
530 val
* var316
/* : Array[MProperty] */;
531 val
* var318
/* : Array[MProperty] */;
532 static val
* varonce319
;
533 val
* var320
/* : String */;
534 char* var321
/* : NativeString */;
535 long var322
/* : Int */;
536 val
* var323
/* : FlatString */;
537 val
* var324
/* : String */;
538 static val
* varonce325
;
539 val
* var326
/* : String */;
540 char* var327
/* : NativeString */;
541 long var328
/* : Int */;
542 val
* var329
/* : FlatString */;
543 static val
* varonce330
;
544 val
* var331
/* : String */;
545 char* var332
/* : NativeString */;
546 long var333
/* : Int */;
547 val
* var334
/* : FlatString */;
548 val
* var335
/* : Array[MProperty] */;
549 val
* var337
/* : Array[MProperty] */;
550 static val
* varonce338
;
551 val
* var339
/* : String */;
552 char* var340
/* : NativeString */;
553 long var341
/* : Int */;
554 val
* var342
/* : FlatString */;
555 val
* var343
/* : String */;
556 static val
* varonce344
;
557 val
* var345
/* : String */;
558 char* var346
/* : NativeString */;
559 long var347
/* : Int */;
560 val
* var348
/* : FlatString */;
561 val
* var349
/* : Array[Object] */;
562 long var350
/* : Int */;
563 val
* var351
/* : NativeArray[Object] */;
564 val
* var352
/* : String */;
565 long var353
/* : Int */;
566 long var354
/* : Int */;
567 short int var356
/* : Bool */;
570 const char* var_class_name359
;
571 long var360
/* : Int */;
572 val
* var365
/* : nullable MSignature */;
573 val
* var366
/* : nullable MSignature */;
574 val
* var368
/* : nullable MSignature */;
575 val
* var369
/* : nullable MSignature */;
576 val
* var371
/* : nullable MSignature */;
577 val
* var_msignature372
/* var msignature: nullable MSignature */;
578 short int var373
/* : Bool */;
579 val
* var374
/* : MSignature */;
580 val
* var375
/* : CallSite */;
581 short int var376
/* : Bool */;
582 short int var377
/* : Bool */;
583 val
* var_callsite378
/* var callsite: CallSite */;
584 short int var379
/* : Bool */;
585 static val
* varonce380
;
586 val
* var381
/* : String */;
587 char* var382
/* : NativeString */;
588 long var383
/* : Int */;
589 val
* var384
/* : FlatString */;
590 static val
* varonce385
;
591 val
* var386
/* : String */;
592 char* var387
/* : NativeString */;
593 long var388
/* : Int */;
594 val
* var389
/* : FlatString */;
595 val
* var390
/* : Array[Object] */;
596 long var391
/* : Int */;
597 val
* var392
/* : NativeArray[Object] */;
598 val
* var393
/* : String */;
599 val
* var_394
/* var : Array[CallSite] */;
600 val
* var395
/* : ArrayIterator[nullable Object] */;
601 val
* var_396
/* var : ArrayIterator[CallSite] */;
602 short int var397
/* : Bool */;
603 val
* var398
/* : nullable Object */;
604 val
* var_auto_super_init
/* var auto_super_init: CallSite */;
605 val
* var399
/* : MMethodDef */;
606 val
* var401
/* : MMethodDef */;
607 val
* var_auto_super_init_def
/* var auto_super_init_def: MMethodDef */;
608 val
* var402
/* : nullable MSignature */;
609 val
* var404
/* : nullable MSignature */;
610 val
* var_msig
/* var msig: MSignature */;
611 val
* var405
/* : MSignature */;
612 val
* var407
/* : MSignature */;
613 val
* var_supermsig
/* var supermsig: MSignature */;
614 long var408
/* : Int */;
615 long var409
/* : Int */;
616 short int var410
/* : Bool */;
617 short int var412
/* : Bool */;
620 const char* var_class_name415
;
621 short int var416
/* : Bool */;
622 static val
* varonce417
;
623 val
* var418
/* : String */;
624 char* var419
/* : NativeString */;
625 long var420
/* : Int */;
626 val
* var421
/* : FlatString */;
627 static val
* varonce422
;
628 val
* var423
/* : String */;
629 char* var424
/* : NativeString */;
630 long var425
/* : Int */;
631 val
* var426
/* : FlatString */;
632 long var427
/* : Int */;
633 static val
* varonce428
;
634 val
* var429
/* : String */;
635 char* var430
/* : NativeString */;
636 long var431
/* : Int */;
637 val
* var432
/* : FlatString */;
638 long var433
/* : Int */;
639 static val
* varonce434
;
640 val
* var435
/* : String */;
641 char* var436
/* : NativeString */;
642 long var437
/* : Int */;
643 val
* var438
/* : FlatString */;
644 val
* var439
/* : Array[Object] */;
645 long var440
/* : Int */;
646 val
* var441
/* : NativeArray[Object] */;
647 val
* var442
/* : Object */;
648 val
* var443
/* : Object */;
649 val
* var444
/* : String */;
650 long var446
/* : Int */;
651 long var_i447
/* var i: Int */;
652 val
* var448
/* : Array[MParameter] */;
653 val
* var450
/* : Array[MParameter] */;
654 val
* var_451
/* var : Array[MParameter] */;
655 val
* var452
/* : ArrayIterator[nullable Object] */;
656 val
* var_453
/* var : ArrayIterator[MParameter] */;
657 short int var454
/* : Bool */;
658 val
* var455
/* : nullable Object */;
659 val
* var_sp
/* var sp: MParameter */;
660 val
* var456
/* : Array[MParameter] */;
661 val
* var458
/* : Array[MParameter] */;
662 val
* var459
/* : nullable Object */;
663 val
* var_p460
/* var p: MParameter */;
664 val
* var461
/* : MType */;
665 val
* var463
/* : MType */;
666 val
* var_sub
/* var sub: MType */;
667 val
* var464
/* : MType */;
668 val
* var466
/* : MType */;
669 val
* var_sup
/* var sup: MType */;
670 short int var467
/* : Bool */;
671 short int var468
/* : Bool */;
672 static val
* varonce469
;
673 val
* var470
/* : String */;
674 char* var471
/* : NativeString */;
675 long var472
/* : Int */;
676 val
* var473
/* : FlatString */;
677 static val
* varonce474
;
678 val
* var475
/* : String */;
679 char* var476
/* : NativeString */;
680 long var477
/* : Int */;
681 val
* var478
/* : FlatString */;
682 static val
* varonce479
;
683 val
* var480
/* : String */;
684 char* var481
/* : NativeString */;
685 long var482
/* : Int */;
686 val
* var483
/* : FlatString */;
687 val
* var484
/* : MType */;
688 val
* var486
/* : MType */;
689 static val
* varonce487
;
690 val
* var488
/* : String */;
691 char* var489
/* : NativeString */;
692 long var490
/* : Int */;
693 val
* var491
/* : FlatString */;
694 val
* var492
/* : String */;
695 val
* var494
/* : String */;
696 static val
* varonce495
;
697 val
* var496
/* : String */;
698 char* var497
/* : NativeString */;
699 long var498
/* : Int */;
700 val
* var499
/* : FlatString */;
701 val
* var500
/* : MType */;
702 val
* var502
/* : MType */;
703 static val
* varonce503
;
704 val
* var504
/* : String */;
705 char* var505
/* : NativeString */;
706 long var506
/* : Int */;
707 val
* var507
/* : FlatString */;
708 val
* var508
/* : Array[Object] */;
709 long var509
/* : Int */;
710 val
* var510
/* : NativeArray[Object] */;
711 val
* var511
/* : Object */;
712 val
* var512
/* : String */;
713 long var514
/* : Int */;
714 long var515
/* : Int */;
715 short int var517
/* : Bool */;
718 const char* var_class_name520
;
719 long var521
/* : Int */;
720 var_modelbuilder
= p0
;
722 { /* Inline parser_nodes#ANode#parent (self) on <self:AMethPropdef> */
723 var2
= self
->attrs
[COLOR_parser_nodes__ANode___parent
].val
; /* _parent on <self:AMethPropdef> */
728 /* <var:nullable ANode> isa AClassdef */
729 cltype
= type_parser_nodes__AClassdef
.color
;
730 idtype
= type_parser_nodes__AClassdef
.id
;
734 if(cltype
>= var
->type
->table_size
) {
737 var3
= var
->type
->type_table
[cltype
] == idtype
;
740 if (unlikely(!var3
)) {
741 var_class_name
= var
== NULL ?
"null" : var
->type
->name
;
742 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AClassdef", var_class_name
);
743 PRINT_ERROR(" (%s:%d)\n", "semantize/auto_super_init.nit", 58);
747 { /* Inline modelize_class#AClassdef#mclassdef (var) on <var:nullable ANode(AClassdef)> */
748 var6
= var
->attrs
[COLOR_modelize_class__AClassdef___mclassdef
].val
; /* _mclassdef on <var:nullable ANode(AClassdef)> */
753 if (unlikely(var4
== NULL
)) {
754 PRINT_ERROR("Runtime error: %s", "Cast failed");
755 PRINT_ERROR(" (%s:%d)\n", "semantize/auto_super_init.nit", 58);
758 var_mclassdef
= var4
;
760 { /* Inline modelize_property#APropdef#mpropdef (self) on <self:AMethPropdef> */
761 var9
= self
->attrs
[COLOR_modelize_property__APropdef___mpropdef
].val
; /* _mpropdef on <self:AMethPropdef> */
766 if (unlikely(var7
== NULL
)) {
767 PRINT_ERROR("Runtime error: %s", "Cast failed");
768 PRINT_ERROR(" (%s:%d)\n", "semantize/auto_super_init.nit", 59);
773 { /* Inline model#MPropDef#mclassdef (var_mpropdef) on <var_mpropdef:MMethodDef> */
774 var12
= var_mpropdef
->attrs
[COLOR_model__MPropDef___mclassdef
].val
; /* _mclassdef on <var_mpropdef:MMethodDef> */
775 if (unlikely(var12
== NULL
)) {
776 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclassdef");
777 PRINT_ERROR(" (%s:%d)\n", "model/model.nit", 1895);
785 { /* Inline model#MClassDef#mmodule (var10) on <var10:MClassDef> */
786 var15
= var10
->attrs
[COLOR_model__MClassDef___mmodule
].val
; /* _mmodule on <var10:MClassDef> */
787 if (unlikely(var15
== NULL
)) {
788 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mmodule");
789 PRINT_ERROR(" (%s:%d)\n", "model/model.nit", 489);
798 { /* Inline model#MClassDef#bound_mtype (var_mclassdef) on <var_mclassdef:MClassDef> */
799 var18
= var_mclassdef
->attrs
[COLOR_model__MClassDef___bound_mtype
].val
; /* _bound_mtype on <var_mclassdef:MClassDef> */
800 if (unlikely(var18
== NULL
)) {
801 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _bound_mtype");
802 PRINT_ERROR(" (%s:%d)\n", "model/model.nit", 495);
811 { /* Inline model#MClassDef#mclass (var_mclassdef) on <var_mclassdef:MClassDef> */
812 var21
= var_mclassdef
->attrs
[COLOR_model__MClassDef___mclass
].val
; /* _mclass on <var_mclassdef:MClassDef> */
813 if (unlikely(var21
== NULL
)) {
814 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclass");
815 PRINT_ERROR(" (%s:%d)\n", "model/model.nit", 492);
823 { /* Inline model#MClass#mclass_type (var19) on <var19:MClass> */
824 var24
= var19
->attrs
[COLOR_model__MClass___mclass_type
].val
; /* _mclass_type on <var19:MClass> */
825 if (unlikely(var24
== NULL
)) {
826 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclass_type");
827 PRINT_ERROR(" (%s:%d)\n", "model/model.nit", 435);
834 var_recvtype
= var22
;
840 var28
= string__NativeString__to_s_with_length(var26
, var27
);
845 var29
= annotation__Prod__get_single_annotation(self
, var25
, var_modelbuilder
);
849 { /* Inline model#MPropDef#mproperty (var_mpropdef) on <var_mpropdef:MMethodDef> */
850 var32
= var_mpropdef
->attrs
[COLOR_model__MPropDef___mproperty
].val
; /* _mproperty on <var_mpropdef:MMethodDef> */
851 if (unlikely(var32
== NULL
)) {
852 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty");
853 PRINT_ERROR(" (%s:%d)\n", "model/model.nit", 1898);
861 { /* Inline model#MMethod#is_init (var30) on <var30:MProperty(MMethod)> */
862 var35
= var30
->attrs
[COLOR_model__MMethod___is_init
].s
; /* _is_init on <var30:MProperty(MMethod)> */
870 if (var_nosuper
== NULL
) {
871 var38
= 0; /* is null */
873 var38
= 1; /* arg is null and recv is not */
876 { /* Inline kernel#Object#!= (var_nosuper,var37) on <var_nosuper:nullable AAnnotation> */
879 var42
= ((short int (*)(val
*, val
*))(var_nosuper
->class->vft
[COLOR_kernel__Object___61d_61d
]))(var_nosuper
, var_other
) /* == on <var_nosuper:nullable AAnnotation(AAnnotation)>*/;
893 var46
= "Error: nosuper only in `init`";
895 var48
= string__NativeString__to_s_with_length(var46
, var47
);
900 modelbuilder__ModelBuilder__error(var_modelbuilder
, var_nosuper
, var45
); /* Direct call modelbuilder#ModelBuilder#error on <var_modelbuilder:ModelBuilder>*/
908 { /* Inline model#MPropDef#mclassdef (var_mpropdef) on <var_mpropdef:MMethodDef> */
909 var51
= var_mpropdef
->attrs
[COLOR_model__MPropDef___mclassdef
].val
; /* _mclassdef on <var_mpropdef:MMethodDef> */
910 if (unlikely(var51
== NULL
)) {
911 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclassdef");
912 PRINT_ERROR(" (%s:%d)\n", "model/model.nit", 1895);
920 var52
= model__MClassDef__is_intro(var49
);
930 { /* Inline model#MClassDef#in_hierarchy (var_mclassdef) on <var_mclassdef:MClassDef> */
931 var57
= var_mclassdef
->attrs
[COLOR_model__MClassDef___in_hierarchy
].val
; /* _in_hierarchy on <var_mclassdef:MClassDef> */
937 PRINT_ERROR("Runtime error: %s", "Receiver is null");
938 PRINT_ERROR(" (%s:%d)\n", "semantize/auto_super_init.nit", 78);
941 var58
= poset__POSetElement__direct_greaters(var55
);
945 var59
= ((val
* (*)(val
*))(var_
->class->vft
[COLOR_abstract_collection__Collection__iterator
]))(var_
) /* iterator on <var_:Collection[MClassDef]>*/;
950 var61
= ((short int (*)(val
*))(var_60
->class->vft
[COLOR_abstract_collection__Iterator__is_ok
]))(var_60
) /* is_ok on <var_60:Iterator[MClassDef]>*/;
954 var62
= ((val
* (*)(val
*))(var_60
->class->vft
[COLOR_abstract_collection__Iterator__item
]))(var_60
) /* item on <var_60:Iterator[MClassDef]>*/;
958 { /* Inline model#MClassDef#mclass (var_cd) on <var_cd:MClassDef> */
959 var65
= var_cd
->attrs
[COLOR_model__MClassDef___mclass
].val
; /* _mclass on <var_cd:MClassDef> */
960 if (unlikely(var65
== NULL
)) {
961 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclass");
962 PRINT_ERROR(" (%s:%d)\n", "model/model.nit", 492);
970 { /* Inline model#MClass#kind (var63) on <var63:MClass> */
971 var68
= var63
->attrs
[COLOR_model__MClass___kind
].val
; /* _kind on <var63:MClass> */
972 if (unlikely(var68
== NULL
)) {
973 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _kind");
974 PRINT_ERROR(" (%s:%d)\n", "model/model.nit", 371);
982 { /* Inline model#MClassKind#need_init (var66) on <var66:MClassKind> */
983 var71
= var66
->attrs
[COLOR_model__MClassKind___need_init
].s
; /* _need_init on <var66:MClassKind> */
994 ((void (*)(val
*))(var_60
->class->vft
[COLOR_abstract_collection__Iterator__next
]))(var_60
) /* next on <var_60:Iterator[MClassDef]>*/;
1000 BREAK_label
: (void)0;
1002 { /* Inline abstract_collection#Iterator#finish (var_60) on <var_60:Iterator[MClassDef]> */
1003 RET_LABEL73
:(void)0;
1011 { /* Inline parser_nodes#AMethPropdef#n_block (self) on <self:AMethPropdef> */
1012 var76
= self
->attrs
[COLOR_parser_nodes__AMethPropdef___n_block
].val
; /* _n_block on <self:AMethPropdef> */
1014 RET_LABEL75
:(void)0;
1019 if (var_nblock
== NULL
) {
1020 var78
= 0; /* is null */
1022 var78
= 1; /* arg is null and recv is not */
1025 { /* Inline kernel#Object#!= (var_nblock,var77) on <var_nblock:nullable AExpr> */
1028 var82
= ((short int (*)(val
*, val
*))(var_nblock
->class->vft
[COLOR_kernel__Object___61d_61d
]))(var_nblock
, var_other
) /* == on <var_nblock:nullable AExpr(AExpr)>*/;
1034 RET_LABEL80
:(void)0;
1039 var84
= NEW_auto_super_init__AutoSuperInitVisitor(&type_auto_super_init__AutoSuperInitVisitor
);
1041 ((void (*)(val
*))(var84
->class->vft
[COLOR_kernel__Object__init
]))(var84
) /* init on <var84:AutoSuperInitVisitor>*/;
1045 parser_nodes__Visitor__enter_visit(var_v
, var_nblock
); /* Direct call parser_nodes#Visitor#enter_visit on <var_v:AutoSuperInitVisitor>*/
1048 { /* Inline auto_super_init#AutoSuperInitVisitor#has_explicit_super_init (var_v) on <var_v:AutoSuperInitVisitor> */
1049 var87
= var_v
->attrs
[COLOR_auto_super_init__AutoSuperInitVisitor___has_explicit_super_init
].val
; /* _has_explicit_super_init on <var_v:AutoSuperInitVisitor> */
1051 RET_LABEL86
:(void)0;
1056 if (var_anode
== NULL
) {
1057 var89
= 0; /* is null */
1059 var89
= 1; /* arg is null and recv is not */
1062 { /* Inline kernel#Object#!= (var_anode,var88) on <var_anode:nullable ANode> */
1065 var93
= ((short int (*)(val
*, val
*))(var_anode
->class->vft
[COLOR_kernel__Object___61d_61d
]))(var_anode
, var_other
) /* == on <var_anode:nullable ANode(ANode)>*/;
1071 RET_LABEL91
:(void)0;
1077 if (var_nosuper
== NULL
) {
1078 var96
= 0; /* is null */
1080 var96
= 1; /* arg is null and recv is not */
1083 { /* Inline kernel#Object#!= (var_nosuper,var95) on <var_nosuper:nullable AAnnotation> */
1086 var100
= ((short int (*)(val
*, val
*))(var_nosuper
->class->vft
[COLOR_kernel__Object___61d_61d
]))(var_nosuper
, var_other
) /* == on <var_nosuper:nullable AAnnotation(AAnnotation)>*/;
1092 RET_LABEL98
:(void)0;
1098 var103
= varonce102
;
1100 var104
= "Error: method is annotated nosuper but a constructor call is present";
1102 var106
= string__NativeString__to_s_with_length(var104
, var105
);
1104 varonce102
= var103
;
1107 modelbuilder__ModelBuilder__error(var_modelbuilder
, var_anode
, var103
); /* Direct call modelbuilder#ModelBuilder#error on <var_modelbuilder:ModelBuilder>*/
1115 { /* Inline auto_super_init#AutoSuperInitVisitor#is_broken (var_v) on <var_v:AutoSuperInitVisitor> */
1116 var109
= var_v
->attrs
[COLOR_auto_super_init__AutoSuperInitVisitor___is_broken
].s
; /* _is_broken on <var_v:AutoSuperInitVisitor> */
1118 RET_LABEL108
:(void)0;
1128 if (var_nosuper
== NULL
) {
1129 var111
= 0; /* is null */
1131 var111
= 1; /* arg is null and recv is not */
1134 { /* Inline kernel#Object#!= (var_nosuper,var110) on <var_nosuper:nullable AAnnotation> */
1137 var115
= ((short int (*)(val
*, val
*))(var_nosuper
->class->vft
[COLOR_kernel__Object___61d_61d
]))(var_nosuper
, var_other
) /* == on <var_nosuper:nullable AAnnotation(AAnnotation)>*/;
1143 RET_LABEL113
:(void)0;
1152 var117
= model__MPropDef__is_intro(var_mpropdef
);
1158 { /* Inline auto_super_init#AMethPropdef#auto_super_call= (self,var119) on <self:AMethPropdef> */
1159 self
->attrs
[COLOR_auto_super_init__AMethPropdef___auto_super_call
].s
= var119
; /* _auto_super_call on <self:AMethPropdef> */
1160 RET_LABEL120
:(void)0;
1165 { /* Inline modelize_property#MPropDef#has_supercall= (var_mpropdef,var121) on <var_mpropdef:MMethodDef> */
1166 var_mpropdef
->attrs
[COLOR_modelize_property__MPropDef___has_supercall
].s
= var121
; /* _has_supercall on <var_mpropdef:MMethodDef> */
1167 RET_LABEL122
:(void)0;
1173 var123
= NEW_array__Array(&type_array__Arraytyping__CallSite
);
1175 ((void (*)(val
*))(var123
->class->vft
[COLOR_kernel__Object__init
]))(var123
) /* init on <var123:Array[CallSite]>*/;
1177 var_auto_super_inits
= var123
;
1179 { /* Inline model#MClassDef#supertypes (var_mclassdef) on <var_mclassdef:MClassDef> */
1180 var126
= var_mclassdef
->attrs
[COLOR_model__MClassDef___supertypes
].val
; /* _supertypes on <var_mclassdef:MClassDef> */
1181 if (unlikely(var126
== NULL
)) {
1182 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _supertypes");
1183 PRINT_ERROR(" (%s:%d)\n", "model/model.nit", 534);
1187 RET_LABEL125
:(void)0;
1192 var128
= array__AbstractArrayRead__iterator(var_127
);
1197 var130
= array__ArrayIterator__is_ok(var_129
);
1201 var131
= array__ArrayIterator__item(var_129
);
1203 var_msupertype
= var131
;
1205 { /* Inline model#MClassType#mclass (var_msupertype) on <var_msupertype:MClassType> */
1206 var134
= var_msupertype
->attrs
[COLOR_model__MClassType___mclass
].val
; /* _mclass on <var_msupertype:MClassType> */
1207 if (unlikely(var134
== NULL
)) {
1208 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclass");
1209 PRINT_ERROR(" (%s:%d)\n", "model/model.nit", 986);
1213 RET_LABEL133
:(void)0;
1217 { /* Inline model#MClass#kind (var132) on <var132:MClass> */
1218 var137
= var132
->attrs
[COLOR_model__MClass___kind
].val
; /* _kind on <var132:MClass> */
1219 if (unlikely(var137
== NULL
)) {
1220 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _kind");
1221 PRINT_ERROR(" (%s:%d)\n", "model/model.nit", 371);
1225 RET_LABEL136
:(void)0;
1229 { /* Inline model#MClassKind#need_init (var135) on <var135:MClassKind> */
1230 var140
= var135
->attrs
[COLOR_model__MClassKind___need_init
].s
; /* _need_init on <var135:MClassKind> */
1232 RET_LABEL139
:(void)0;
1237 goto BREAK_label142
;
1241 { /* Inline model#MClassDef#bound_mtype (var_mclassdef) on <var_mclassdef:MClassDef> */
1242 var145
= var_mclassdef
->attrs
[COLOR_model__MClassDef___bound_mtype
].val
; /* _bound_mtype on <var_mclassdef:MClassDef> */
1243 if (unlikely(var145
== NULL
)) {
1244 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _bound_mtype");
1245 PRINT_ERROR(" (%s:%d)\n", "model/model.nit", 495);
1249 RET_LABEL144
:(void)0;
1253 var146
= model__MClassType__anchor_to(var_msupertype
, var_mmodule
, var143
);
1255 var_msupertype
= var146
;
1257 { /* Inline model#MPropDef#mproperty (var_mpropdef) on <var_mpropdef:MMethodDef> */
1258 var149
= var_mpropdef
->attrs
[COLOR_model__MPropDef___mproperty
].val
; /* _mproperty on <var_mpropdef:MMethodDef> */
1259 if (unlikely(var149
== NULL
)) {
1260 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty");
1261 PRINT_ERROR(" (%s:%d)\n", "model/model.nit", 1898);
1265 RET_LABEL148
:(void)0;
1269 { /* Inline model#MProperty#name (var147) on <var147:MProperty(MMethod)> */
1270 var152
= var147
->attrs
[COLOR_model__MProperty___name
].val
; /* _name on <var147:MProperty(MMethod)> */
1271 if (unlikely(var152
== NULL
)) {
1272 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _name");
1273 PRINT_ERROR(" (%s:%d)\n", "model/model.nit", 1620);
1277 RET_LABEL151
:(void)0;
1281 var153
= modelbuilder__ModelBuilder__try_get_mproperty_by_name2(var_modelbuilder
, self
, var_mmodule
, var_msupertype
, var150
);
1283 var_candidate
= var153
;
1285 if (var_candidate
== NULL
) {
1286 var155
= 1; /* is null */
1288 var155
= 0; /* arg is null but recv is not */
1291 { /* Inline kernel#Object#== (var_candidate,var154) on <var_candidate:nullable MProperty> */
1292 var_other158
= var154
;
1294 { /* Inline kernel#Object#is_same_instance (var_candidate,var_other158) on <var_candidate:nullable MProperty(MProperty)> */
1295 var161
= var_candidate
== var_other158
;
1298 RET_LABEL160
:(void)0;
1303 RET_LABEL157
:(void)0;
1309 var163
= varonce162
;
1313 var166
= string__NativeString__to_s_with_length(var164
, var165
);
1315 varonce162
= var163
;
1318 var167
= modelbuilder__ModelBuilder__try_get_mproperty_by_name2(var_modelbuilder
, self
, var_mmodule
, var_msupertype
, var163
);
1320 var_candidate
= var167
;
1324 if (var_candidate
== NULL
) {
1325 var169
= 1; /* is null */
1327 var169
= 0; /* arg is null but recv is not */
1330 { /* Inline kernel#Object#== (var_candidate,var168) on <var_candidate:nullable MProperty> */
1331 var_other158
= var168
;
1333 { /* Inline kernel#Object#is_same_instance (var_candidate,var_other158) on <var_candidate:nullable MProperty(MProperty)> */
1334 var174
= var_candidate
== var_other158
;
1337 RET_LABEL173
:(void)0;
1342 RET_LABEL171
:(void)0;
1348 var176
= varonce175
;
1350 var177
= "Error: Cannot do an implicit constructor call in ";
1352 var179
= string__NativeString__to_s_with_length(var177
, var178
);
1354 varonce175
= var176
;
1357 var181
= varonce180
;
1359 var182
= "; there is no constructor named ";
1361 var184
= string__NativeString__to_s_with_length(var182
, var183
);
1363 varonce180
= var181
;
1366 { /* Inline model#MPropDef#mproperty (var_mpropdef) on <var_mpropdef:MMethodDef> */
1367 var187
= var_mpropdef
->attrs
[COLOR_model__MPropDef___mproperty
].val
; /* _mproperty on <var_mpropdef:MMethodDef> */
1368 if (unlikely(var187
== NULL
)) {
1369 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty");
1370 PRINT_ERROR(" (%s:%d)\n", "model/model.nit", 1898);
1374 RET_LABEL186
:(void)0;
1378 { /* Inline model#MProperty#name (var185) on <var185:MProperty(MMethod)> */
1379 var190
= var185
->attrs
[COLOR_model__MProperty___name
].val
; /* _name on <var185:MProperty(MMethod)> */
1380 if (unlikely(var190
== NULL
)) {
1381 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _name");
1382 PRINT_ERROR(" (%s:%d)\n", "model/model.nit", 1620);
1386 RET_LABEL189
:(void)0;
1390 var192
= varonce191
;
1394 var195
= string__NativeString__to_s_with_length(var193
, var194
);
1396 varonce191
= var192
;
1399 var197
= varonce196
;
1403 var200
= string__NativeString__to_s_with_length(var198
, var199
);
1405 varonce196
= var197
;
1407 var201
= NEW_array__Array(&type_array__Arraykernel__Object
);
1408 { /* var201 = array_instance Array[Object] */
1410 var203
= NEW_array__NativeArray(var202
, &type_array__NativeArraykernel__Object
);
1411 ((struct instance_array__NativeArray
*)var203
)->values
[0] = (val
*) var176
;
1412 ((struct instance_array__NativeArray
*)var203
)->values
[1] = (val
*) var_mpropdef
;
1413 ((struct instance_array__NativeArray
*)var203
)->values
[2] = (val
*) var181
;
1414 ((struct instance_array__NativeArray
*)var203
)->values
[3] = (val
*) var188
;
1415 ((struct instance_array__NativeArray
*)var203
)->values
[4] = (val
*) var192
;
1416 ((struct instance_array__NativeArray
*)var203
)->values
[5] = (val
*) var_msupertype
;
1417 ((struct instance_array__NativeArray
*)var203
)->values
[6] = (val
*) var197
;
1419 ((void (*)(val
*, val
*, long))(var201
->class->vft
[COLOR_array__Array__with_native
]))(var201
, var203
, var202
) /* with_native on <var201:Array[Object]>*/;
1423 var204
= ((val
* (*)(val
*))(var201
->class->vft
[COLOR_string__Object__to_s
]))(var201
) /* to_s on <var201:Array[Object]>*/;
1426 modelbuilder__ModelBuilder__error(var_modelbuilder
, self
, var204
); /* Direct call modelbuilder#ModelBuilder#error on <var_modelbuilder:ModelBuilder>*/
1431 /* <var_candidate:nullable MProperty(MProperty)> isa MMethod */
1432 cltype206
= type_model__MMethod
.color
;
1433 idtype207
= type_model__MMethod
.id
;
1434 if(cltype206
>= var_candidate
->type
->table_size
) {
1437 var205
= var_candidate
->type
->type_table
[cltype206
] == idtype207
;
1439 if (unlikely(!var205
)) {
1440 PRINT_ERROR("Runtime error: %s", "Assert failed");
1441 PRINT_ERROR(" (%s:%d)\n", "semantize/auto_super_init.nit", 124);
1445 { /* Inline model#MMethod#is_root_init (var_candidate) on <var_candidate:nullable MProperty(MMethod)> */
1446 var210
= var_candidate
->attrs
[COLOR_model__MMethod___is_root_init
].s
; /* _is_root_init on <var_candidate:nullable MProperty(MMethod)> */
1448 RET_LABEL209
:(void)0;
1452 goto BREAK_label142
;
1456 var211
= model__MProperty__lookup_definitions(var_candidate
, var_mmodule
, var_anchor
);
1458 var_candidatedefs
= var211
;
1460 var212
= abstract_collection__SequenceRead__first(var_candidatedefs
);
1462 var_candidatedef
= var212
;
1464 { /* Inline model#MMethodDef#new_msignature (var_candidatedef) on <var_candidatedef:MMethodDef> */
1465 var216
= var_candidatedef
->attrs
[COLOR_model__MMethodDef___new_msignature
].val
; /* _new_msignature on <var_candidatedef:MMethodDef> */
1467 RET_LABEL215
:(void)0;
1474 { /* Inline model#MMethodDef#msignature (var_candidatedef) on <var_candidatedef:MMethodDef> */
1475 var219
= var_candidatedef
->attrs
[COLOR_model__MMethodDef___msignature
].val
; /* _msignature on <var_candidatedef:MMethodDef> */
1477 RET_LABEL218
:(void)0;
1482 var_msignature
= var213
;
1484 if (var_msignature
== NULL
) {
1485 PRINT_ERROR("Runtime error: %s", "Receiver is null");
1486 PRINT_ERROR(" (%s:%d)\n", "semantize/auto_super_init.nit", 134);
1489 var221
= model__MSignature__resolve_for(var_msignature
, var_recvtype
, var_anchor
, var_mmodule
, var220
);
1491 var_msignature
= var221
;
1492 var222
= NEW_typing__CallSite(&type_typing__CallSite
);
1496 ((void (*)(val
*, val
*))(var222
->class->vft
[COLOR_typing__CallSite__node_61d
]))(var222
, self
) /* node= on <var222:CallSite>*/;
1499 ((void (*)(val
*, val
*))(var222
->class->vft
[COLOR_typing__CallSite__recv_61d
]))(var222
, var_recvtype
) /* recv= on <var222:CallSite>*/;
1502 ((void (*)(val
*, val
*))(var222
->class->vft
[COLOR_typing__CallSite__mmodule_61d
]))(var222
, var_mmodule
) /* mmodule= on <var222:CallSite>*/;
1505 ((void (*)(val
*, val
*))(var222
->class->vft
[COLOR_typing__CallSite__anchor_61d
]))(var222
, var_anchor
) /* anchor= on <var222:CallSite>*/;
1508 ((void (*)(val
*, short int))(var222
->class->vft
[COLOR_typing__CallSite__recv_is_self_61d
]))(var222
, var223
) /* recv_is_self= on <var222:CallSite>*/;
1511 ((void (*)(val
*, val
*))(var222
->class->vft
[COLOR_typing__CallSite__mproperty_61d
]))(var222
, var_candidate
) /* mproperty= on <var222:CallSite>*/;
1514 ((void (*)(val
*, val
*))(var222
->class->vft
[COLOR_typing__CallSite__mpropdef_61d
]))(var222
, var_candidatedef
) /* mpropdef= on <var222:CallSite>*/;
1517 ((void (*)(val
*, val
*))(var222
->class->vft
[COLOR_typing__CallSite__msignature_61d
]))(var222
, var_msignature
) /* msignature= on <var222:CallSite>*/;
1520 ((void (*)(val
*, short int))(var222
->class->vft
[COLOR_typing__CallSite__erasure_cast_61d
]))(var222
, var224
) /* erasure_cast= on <var222:CallSite>*/;
1523 ((void (*)(val
*))(var222
->class->vft
[COLOR_kernel__Object__init
]))(var222
) /* init on <var222:CallSite>*/;
1525 var_callsite
= var222
;
1527 array__Array__add(var_auto_super_inits
, var_callsite
); /* Direct call array#Array#add on <var_auto_super_inits:Array[CallSite]>*/
1529 BREAK_label142
: (void)0;
1531 array__ArrayIterator__next(var_129
); /* Direct call array#ArrayIterator#next on <var_129:ArrayIterator[MClassType]>*/
1534 goto BREAK_label225
;
1537 BREAK_label225
: (void)0;
1539 { /* Inline abstract_collection#Iterator#finish (var_129) on <var_129:ArrayIterator[MClassType]> */
1540 RET_LABEL226
:(void)0;
1544 { /* Inline modelize_property#ModelBuilder#the_root_init_mmethod (var_modelbuilder) on <var_modelbuilder:ModelBuilder> */
1545 var229
= var_modelbuilder
->attrs
[COLOR_modelize_property__ModelBuilder___the_root_init_mmethod
].val
; /* _the_root_init_mmethod on <var_modelbuilder:ModelBuilder> */
1547 RET_LABEL228
:(void)0;
1550 var_the_root_init_mmethod
= var227
;
1552 if (var_the_root_init_mmethod
== NULL
) {
1553 var232
= 0; /* is null */
1555 var232
= 1; /* arg is null and recv is not */
1558 { /* Inline kernel#Object#!= (var_the_root_init_mmethod,var231) on <var_the_root_init_mmethod:nullable MMethod> */
1561 var236
= ((short int (*)(val
*, val
*))(var_the_root_init_mmethod
->class->vft
[COLOR_kernel__Object___61d_61d
]))(var_the_root_init_mmethod
, var_other
) /* == on <var_the_root_init_mmethod:nullable MMethod(MMethod)>*/;
1567 RET_LABEL234
:(void)0;
1574 var239
= array__AbstractArrayRead__is_empty(var_auto_super_inits
);
1582 var240
= model__MProperty__lookup_definitions(var_the_root_init_mmethod
, var_mmodule
, var_anchor
);
1584 var_candidatedefs241
= var240
;
1586 var242
= abstract_collection__SequenceRead__first(var_candidatedefs241
);
1588 var_candidatedef243
= var242
;
1590 { /* Inline array#AbstractArrayRead#length (var_candidatedefs241) on <var_candidatedefs241:Array[MMethodDef]> */
1591 var246
= var_candidatedefs241
->attrs
[COLOR_array__AbstractArrayRead___length
].l
; /* _length on <var_candidatedefs241:Array[MMethodDef]> */
1593 RET_LABEL245
:(void)0;
1598 { /* Inline kernel#Int#> (var244,var247) on <var244:Int> */
1599 /* Covariant cast for argument 0 (i) <var247:Int> isa OTHER */
1600 /* <var247:Int> isa OTHER */
1601 var250
= 1; /* easy <var247:Int> isa OTHER*/
1602 if (unlikely(!var250
)) {
1603 var_class_name253
= type_kernel__Int
.name
;
1604 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name253
);
1605 PRINT_ERROR(" (%s:%d)\n", "../lib/standard/kernel.nit", 373);
1608 var254
= var244
> var247
;
1611 RET_LABEL249
:(void)0;
1615 var_255
= var_candidatedefs241
;
1617 var256
= array__AbstractArrayRead__iterator(var_255
);
1622 var258
= array__ArrayIterator__is_ok(var_257
);
1626 var259
= array__ArrayIterator__item(var_257
);
1630 { /* Inline model#MMethodDef#initializers (var_spd) on <var_spd:MMethodDef> */
1631 var262
= var_spd
->attrs
[COLOR_model__MMethodDef___initializers
].val
; /* _initializers on <var_spd:MMethodDef> */
1632 if (unlikely(var262
== NULL
)) {
1633 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _initializers");
1634 PRINT_ERROR(" (%s:%d)\n", "model/model.nit", 1967);
1638 RET_LABEL261
:(void)0;
1642 { /* Inline array#AbstractArrayRead#length (var260) on <var260:Array[MProperty]> */
1643 var265
= var260
->attrs
[COLOR_array__AbstractArrayRead___length
].l
; /* _length on <var260:Array[MProperty]> */
1645 RET_LABEL264
:(void)0;
1649 { /* Inline model#MMethodDef#initializers (var_candidatedef243) on <var_candidatedef243:MMethodDef> */
1650 var268
= var_candidatedef243
->attrs
[COLOR_model__MMethodDef___initializers
].val
; /* _initializers on <var_candidatedef243:MMethodDef> */
1651 if (unlikely(var268
== NULL
)) {
1652 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _initializers");
1653 PRINT_ERROR(" (%s:%d)\n", "model/model.nit", 1967);
1657 RET_LABEL267
:(void)0;
1661 { /* Inline array#AbstractArrayRead#length (var266) on <var266:Array[MProperty]> */
1662 var271
= var266
->attrs
[COLOR_array__AbstractArrayRead___length
].l
; /* _length on <var266:Array[MProperty]> */
1664 RET_LABEL270
:(void)0;
1668 { /* Inline kernel#Int#> (var263,var269) on <var263:Int> */
1669 /* Covariant cast for argument 0 (i) <var269:Int> isa OTHER */
1670 /* <var269:Int> isa OTHER */
1671 var274
= 1; /* easy <var269:Int> isa OTHER*/
1672 if (unlikely(!var274
)) {
1673 var_class_name277
= type_kernel__Int
.name
;
1674 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name277
);
1675 PRINT_ERROR(" (%s:%d)\n", "../lib/standard/kernel.nit", 373);
1678 var278
= var263
> var269
;
1681 RET_LABEL273
:(void)0;
1685 var_candidatedef243
= var_spd
;
1689 array__ArrayIterator__next(var_257
); /* Direct call array#ArrayIterator#next on <var_257:ArrayIterator[MMethodDef]>*/
1692 goto BREAK_label279
;
1695 BREAK_label279
: (void)0;
1697 { /* Inline abstract_collection#Iterator#finish (var_257) on <var_257:ArrayIterator[MMethodDef]> */
1698 RET_LABEL280
:(void)0;
1701 var_281
= var_candidatedefs241
;
1703 var282
= array__AbstractArrayRead__iterator(var_281
);
1708 var284
= array__ArrayIterator__is_ok(var_283
);
1712 var285
= array__ArrayIterator__item(var_283
);
1714 var_spd286
= var285
;
1718 { /* Inline model#MMethodDef#initializers (var_spd286) on <var_spd286:MMethodDef> */
1719 var290
= var_spd286
->attrs
[COLOR_model__MMethodDef___initializers
].val
; /* _initializers on <var_spd286:MMethodDef> */
1720 if (unlikely(var290
== NULL
)) {
1721 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _initializers");
1722 PRINT_ERROR(" (%s:%d)\n", "model/model.nit", 1967);
1726 RET_LABEL289
:(void)0;
1731 var292
= array__AbstractArrayRead__iterator(var_291
);
1736 var294
= array__ArrayIterator__is_ok(var_293
);
1740 var295
= array__ArrayIterator__item(var_293
);
1744 { /* Inline model#MMethodDef#initializers (var_candidatedef243) on <var_candidatedef243:MMethodDef> */
1745 var298
= var_candidatedef243
->attrs
[COLOR_model__MMethodDef___initializers
].val
; /* _initializers on <var_candidatedef243:MMethodDef> */
1746 if (unlikely(var298
== NULL
)) {
1747 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _initializers");
1748 PRINT_ERROR(" (%s:%d)\n", "model/model.nit", 1967);
1752 RET_LABEL297
:(void)0;
1756 var299
= array__Array___91d_93d(var296
, var_i
);
1759 { /* Inline kernel#Object#!= (var_p,var299) on <var_p:MProperty> */
1762 var304
= ((short int (*)(val
*, val
*))(var_p
->class->vft
[COLOR_kernel__Object___61d_61d
]))(var_p
, var_other
) /* == on <var_p:MProperty>*/;
1768 RET_LABEL302
:(void)0;
1774 var307
= varonce306
;
1776 var308
= "Error: Cannot do an implicit constructor call to comflicting for inherited inits ";
1778 var310
= string__NativeString__to_s_with_length(var308
, var309
);
1780 varonce306
= var307
;
1783 var312
= varonce311
;
1787 var315
= string__NativeString__to_s_with_length(var313
, var314
);
1789 varonce311
= var312
;
1792 { /* Inline model#MMethodDef#initializers (var_spd286) on <var_spd286:MMethodDef> */
1793 var318
= var_spd286
->attrs
[COLOR_model__MMethodDef___initializers
].val
; /* _initializers on <var_spd286:MMethodDef> */
1794 if (unlikely(var318
== NULL
)) {
1795 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _initializers");
1796 PRINT_ERROR(" (%s:%d)\n", "model/model.nit", 1967);
1800 RET_LABEL317
:(void)0;
1804 var320
= varonce319
;
1808 var323
= string__NativeString__to_s_with_length(var321
, var322
);
1810 varonce319
= var320
;
1813 var324
= string__Collection__join(var316
, var320
);
1816 var326
= varonce325
;
1820 var329
= string__NativeString__to_s_with_length(var327
, var328
);
1822 varonce325
= var326
;
1825 var331
= varonce330
;
1829 var334
= string__NativeString__to_s_with_length(var332
, var333
);
1831 varonce330
= var331
;
1834 { /* Inline model#MMethodDef#initializers (var_candidatedef243) on <var_candidatedef243:MMethodDef> */
1835 var337
= var_candidatedef243
->attrs
[COLOR_model__MMethodDef___initializers
].val
; /* _initializers on <var_candidatedef243:MMethodDef> */
1836 if (unlikely(var337
== NULL
)) {
1837 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _initializers");
1838 PRINT_ERROR(" (%s:%d)\n", "model/model.nit", 1967);
1842 RET_LABEL336
:(void)0;
1846 var339
= varonce338
;
1850 var342
= string__NativeString__to_s_with_length(var340
, var341
);
1852 varonce338
= var339
;
1855 var343
= string__Collection__join(var335
, var339
);
1858 var345
= varonce344
;
1860 var346
= "). NOTE: Do not mix old-style and new-style init!";
1862 var348
= string__NativeString__to_s_with_length(var346
, var347
);
1864 varonce344
= var345
;
1866 var349
= NEW_array__Array(&type_array__Arraykernel__Object
);
1867 { /* var349 = array_instance Array[Object] */
1869 var351
= NEW_array__NativeArray(var350
, &type_array__NativeArraykernel__Object
);
1870 ((struct instance_array__NativeArray
*)var351
)->values
[0] = (val
*) var307
;
1871 ((struct instance_array__NativeArray
*)var351
)->values
[1] = (val
*) var_spd286
;
1872 ((struct instance_array__NativeArray
*)var351
)->values
[2] = (val
*) var312
;
1873 ((struct instance_array__NativeArray
*)var351
)->values
[3] = (val
*) var324
;
1874 ((struct instance_array__NativeArray
*)var351
)->values
[4] = (val
*) var326
;
1875 ((struct instance_array__NativeArray
*)var351
)->values
[5] = (val
*) var_candidatedef243
;
1876 ((struct instance_array__NativeArray
*)var351
)->values
[6] = (val
*) var331
;
1877 ((struct instance_array__NativeArray
*)var351
)->values
[7] = (val
*) var343
;
1878 ((struct instance_array__NativeArray
*)var351
)->values
[8] = (val
*) var345
;
1880 ((void (*)(val
*, val
*, long))(var349
->class->vft
[COLOR_array__Array__with_native
]))(var349
, var351
, var350
) /* with_native on <var349:Array[Object]>*/;
1884 var352
= ((val
* (*)(val
*))(var349
->class->vft
[COLOR_string__Object__to_s
]))(var349
) /* to_s on <var349:Array[Object]>*/;
1887 modelbuilder__ModelBuilder__error(var_modelbuilder
, self
, var352
); /* Direct call modelbuilder#ModelBuilder#error on <var_modelbuilder:ModelBuilder>*/
1894 { /* Inline kernel#Int#+ (var_i,var353) on <var_i:Int> */
1895 /* Covariant cast for argument 0 (i) <var353:Int> isa OTHER */
1896 /* <var353:Int> isa OTHER */
1897 var356
= 1; /* easy <var353:Int> isa OTHER*/
1898 if (unlikely(!var356
)) {
1899 var_class_name359
= type_kernel__Int
.name
;
1900 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name359
);
1901 PRINT_ERROR(" (%s:%d)\n", "../lib/standard/kernel.nit", 374);
1904 var360
= var_i
+ var353
;
1907 RET_LABEL355
:(void)0;
1912 array__ArrayIterator__next(var_293
); /* Direct call array#ArrayIterator#next on <var_293:ArrayIterator[MProperty]>*/
1915 goto BREAK_label361
;
1918 BREAK_label361
: (void)0;
1920 { /* Inline abstract_collection#Iterator#finish (var_293) on <var_293:ArrayIterator[MProperty]> */
1921 RET_LABEL362
:(void)0;
1925 array__ArrayIterator__next(var_283
); /* Direct call array#ArrayIterator#next on <var_283:ArrayIterator[MMethodDef]>*/
1928 goto BREAK_label363
;
1931 BREAK_label363
: (void)0;
1933 { /* Inline abstract_collection#Iterator#finish (var_283) on <var_283:ArrayIterator[MMethodDef]> */
1934 RET_LABEL364
:(void)0;
1940 { /* Inline model#MMethodDef#new_msignature (var_candidatedef243) on <var_candidatedef243:MMethodDef> */
1941 var368
= var_candidatedef243
->attrs
[COLOR_model__MMethodDef___new_msignature
].val
; /* _new_msignature on <var_candidatedef243:MMethodDef> */
1943 RET_LABEL367
:(void)0;
1950 { /* Inline model#MMethodDef#msignature (var_candidatedef243) on <var_candidatedef243:MMethodDef> */
1951 var371
= var_candidatedef243
->attrs
[COLOR_model__MMethodDef___msignature
].val
; /* _msignature on <var_candidatedef243:MMethodDef> */
1953 RET_LABEL370
:(void)0;
1958 var_msignature372
= var365
;
1960 if (var_msignature372
== NULL
) {
1961 PRINT_ERROR("Runtime error: %s", "Receiver is null");
1962 PRINT_ERROR(" (%s:%d)\n", "semantize/auto_super_init.nit", 168);
1965 var374
= model__MSignature__resolve_for(var_msignature372
, var_recvtype
, var_anchor
, var_mmodule
, var373
);
1967 var_msignature372
= var374
;
1968 var375
= NEW_typing__CallSite(&type_typing__CallSite
);
1972 ((void (*)(val
*, val
*))(var375
->class->vft
[COLOR_typing__CallSite__node_61d
]))(var375
, self
) /* node= on <var375:CallSite>*/;
1975 ((void (*)(val
*, val
*))(var375
->class->vft
[COLOR_typing__CallSite__recv_61d
]))(var375
, var_recvtype
) /* recv= on <var375:CallSite>*/;
1978 ((void (*)(val
*, val
*))(var375
->class->vft
[COLOR_typing__CallSite__mmodule_61d
]))(var375
, var_mmodule
) /* mmodule= on <var375:CallSite>*/;
1981 ((void (*)(val
*, val
*))(var375
->class->vft
[COLOR_typing__CallSite__anchor_61d
]))(var375
, var_anchor
) /* anchor= on <var375:CallSite>*/;
1984 ((void (*)(val
*, short int))(var375
->class->vft
[COLOR_typing__CallSite__recv_is_self_61d
]))(var375
, var376
) /* recv_is_self= on <var375:CallSite>*/;
1987 ((void (*)(val
*, val
*))(var375
->class->vft
[COLOR_typing__CallSite__mproperty_61d
]))(var375
, var_the_root_init_mmethod
) /* mproperty= on <var375:CallSite>*/;
1990 ((void (*)(val
*, val
*))(var375
->class->vft
[COLOR_typing__CallSite__mpropdef_61d
]))(var375
, var_candidatedef243
) /* mpropdef= on <var375:CallSite>*/;
1993 ((void (*)(val
*, val
*))(var375
->class->vft
[COLOR_typing__CallSite__msignature_61d
]))(var375
, var_msignature372
) /* msignature= on <var375:CallSite>*/;
1996 ((void (*)(val
*, short int))(var375
->class->vft
[COLOR_typing__CallSite__erasure_cast_61d
]))(var375
, var377
) /* erasure_cast= on <var375:CallSite>*/;
1999 ((void (*)(val
*))(var375
->class->vft
[COLOR_kernel__Object__init
]))(var375
) /* init on <var375:CallSite>*/;
2001 var_callsite378
= var375
;
2003 array__Array__add(var_auto_super_inits
, var_callsite378
); /* Direct call array#Array#add on <var_auto_super_inits:Array[CallSite]>*/
2008 var379
= array__AbstractArrayRead__is_empty(var_auto_super_inits
);
2012 var381
= varonce380
;
2014 var382
= "Error: No constructors to call implicitely in ";
2016 var384
= string__NativeString__to_s_with_length(var382
, var383
);
2018 varonce380
= var381
;
2021 var386
= varonce385
;
2023 var387
= ". Call one explicitely.";
2025 var389
= string__NativeString__to_s_with_length(var387
, var388
);
2027 varonce385
= var386
;
2029 var390
= NEW_array__Array(&type_array__Arraykernel__Object
);
2030 { /* var390 = array_instance Array[Object] */
2032 var392
= NEW_array__NativeArray(var391
, &type_array__NativeArraykernel__Object
);
2033 ((struct instance_array__NativeArray
*)var392
)->values
[0] = (val
*) var381
;
2034 ((struct instance_array__NativeArray
*)var392
)->values
[1] = (val
*) var_mpropdef
;
2035 ((struct instance_array__NativeArray
*)var392
)->values
[2] = (val
*) var386
;
2037 ((void (*)(val
*, val
*, long))(var390
->class->vft
[COLOR_array__Array__with_native
]))(var390
, var392
, var391
) /* with_native on <var390:Array[Object]>*/;
2041 var393
= ((val
* (*)(val
*))(var390
->class->vft
[COLOR_string__Object__to_s
]))(var390
) /* to_s on <var390:Array[Object]>*/;
2044 modelbuilder__ModelBuilder__error(var_modelbuilder
, self
, var393
); /* Direct call modelbuilder#ModelBuilder#error on <var_modelbuilder:ModelBuilder>*/
2049 var_394
= var_auto_super_inits
;
2051 var395
= array__AbstractArrayRead__iterator(var_394
);
2056 var397
= array__ArrayIterator__is_ok(var_396
);
2060 var398
= array__ArrayIterator__item(var_396
);
2062 var_auto_super_init
= var398
;
2064 { /* Inline typing#CallSite#mpropdef (var_auto_super_init) on <var_auto_super_init:CallSite> */
2065 var401
= var_auto_super_init
->attrs
[COLOR_typing__CallSite___mpropdef
].val
; /* _mpropdef on <var_auto_super_init:CallSite> */
2066 if (unlikely(var401
== NULL
)) {
2067 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mpropdef");
2068 PRINT_ERROR(" (%s:%d)\n", "semantize/typing.nit", 486);
2072 RET_LABEL400
:(void)0;
2075 var_auto_super_init_def
= var399
;
2077 { /* Inline model#MMethodDef#msignature (var_mpropdef) on <var_mpropdef:MMethodDef> */
2078 var404
= var_mpropdef
->attrs
[COLOR_model__MMethodDef___msignature
].val
; /* _msignature on <var_mpropdef:MMethodDef> */
2080 RET_LABEL403
:(void)0;
2083 if (unlikely(var402
== NULL
)) {
2084 PRINT_ERROR("Runtime error: %s", "Cast failed");
2085 PRINT_ERROR(" (%s:%d)\n", "semantize/auto_super_init.nit", 181);
2090 { /* Inline typing#CallSite#msignature (var_auto_super_init) on <var_auto_super_init:CallSite> */
2091 var407
= var_auto_super_init
->attrs
[COLOR_typing__CallSite___msignature
].val
; /* _msignature on <var_auto_super_init:CallSite> */
2092 if (unlikely(var407
== NULL
)) {
2093 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _msignature");
2094 PRINT_ERROR(" (%s:%d)\n", "semantize/typing.nit", 490);
2098 RET_LABEL406
:(void)0;
2101 var_supermsig
= var405
;
2103 var408
= model__MSignature__arity(var_supermsig
);
2106 var409
= model__MSignature__arity(var_msig
);
2109 { /* Inline kernel#Int#> (var408,var409) on <var408:Int> */
2110 /* Covariant cast for argument 0 (i) <var409:Int> isa OTHER */
2111 /* <var409:Int> isa OTHER */
2112 var412
= 1; /* easy <var409:Int> isa OTHER*/
2113 if (unlikely(!var412
)) {
2114 var_class_name415
= type_kernel__Int
.name
;
2115 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name415
);
2116 PRINT_ERROR(" (%s:%d)\n", "../lib/standard/kernel.nit", 373);
2119 var416
= var408
> var409
;
2122 RET_LABEL411
:(void)0;
2127 var418
= varonce417
;
2129 var419
= "Error: Cannot do an implicit constructor call to ";
2131 var421
= string__NativeString__to_s_with_length(var419
, var420
);
2133 varonce417
= var418
;
2136 var423
= varonce422
;
2138 var424
= ". Expected at least ";
2140 var426
= string__NativeString__to_s_with_length(var424
, var425
);
2142 varonce422
= var423
;
2145 var427
= model__MSignature__arity(var_supermsig
);
2148 var429
= varonce428
;
2150 var430
= " arguments, got ";
2152 var432
= string__NativeString__to_s_with_length(var430
, var431
);
2154 varonce428
= var429
;
2157 var433
= model__MSignature__arity(var_msig
);
2160 var435
= varonce434
;
2164 var438
= string__NativeString__to_s_with_length(var436
, var437
);
2166 varonce434
= var435
;
2168 var439
= NEW_array__Array(&type_array__Arraykernel__Object
);
2169 { /* var439 = array_instance Array[Object] */
2171 var441
= NEW_array__NativeArray(var440
, &type_array__NativeArraykernel__Object
);
2172 ((struct instance_array__NativeArray
*)var441
)->values
[0] = (val
*) var418
;
2173 ((struct instance_array__NativeArray
*)var441
)->values
[1] = (val
*) var_auto_super_init_def
;
2174 ((struct instance_array__NativeArray
*)var441
)->values
[2] = (val
*) var_supermsig
;
2175 ((struct instance_array__NativeArray
*)var441
)->values
[3] = (val
*) var423
;
2176 var442
= BOX_kernel__Int(var427
); /* autobox from Int to Object */
2177 ((struct instance_array__NativeArray
*)var441
)->values
[4] = (val
*) var442
;
2178 ((struct instance_array__NativeArray
*)var441
)->values
[5] = (val
*) var429
;
2179 var443
= BOX_kernel__Int(var433
); /* autobox from Int to Object */
2180 ((struct instance_array__NativeArray
*)var441
)->values
[6] = (val
*) var443
;
2181 ((struct instance_array__NativeArray
*)var441
)->values
[7] = (val
*) var435
;
2183 ((void (*)(val
*, val
*, long))(var439
->class->vft
[COLOR_array__Array__with_native
]))(var439
, var441
, var440
) /* with_native on <var439:Array[Object]>*/;
2187 var444
= ((val
* (*)(val
*))(var439
->class->vft
[COLOR_string__Object__to_s
]))(var439
) /* to_s on <var439:Array[Object]>*/;
2190 modelbuilder__ModelBuilder__error(var_modelbuilder
, self
, var444
); /* Direct call modelbuilder#ModelBuilder#error on <var_modelbuilder:ModelBuilder>*/
2192 goto BREAK_label445
;
2198 { /* Inline model#MSignature#mparameters (var_supermsig) on <var_supermsig:MSignature> */
2199 var450
= var_supermsig
->attrs
[COLOR_model__MSignature___mparameters
].val
; /* _mparameters on <var_supermsig:MSignature> */
2200 if (unlikely(var450
== NULL
)) {
2201 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mparameters");
2202 PRINT_ERROR(" (%s:%d)\n", "model/model.nit", 1465);
2206 RET_LABEL449
:(void)0;
2211 var452
= array__AbstractArrayRead__iterator(var_451
);
2216 var454
= array__ArrayIterator__is_ok(var_453
);
2220 var455
= array__ArrayIterator__item(var_453
);
2224 { /* Inline model#MSignature#mparameters (var_msig) on <var_msig:MSignature> */
2225 var458
= var_msig
->attrs
[COLOR_model__MSignature___mparameters
].val
; /* _mparameters on <var_msig:MSignature> */
2226 if (unlikely(var458
== NULL
)) {
2227 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mparameters");
2228 PRINT_ERROR(" (%s:%d)\n", "model/model.nit", 1465);
2232 RET_LABEL457
:(void)0;
2236 var459
= array__Array___91d_93d(var456
, var_i447
);
2240 { /* Inline model#MParameter#mtype (var_p460) on <var_p460:MParameter> */
2241 var463
= var_p460
->attrs
[COLOR_model__MParameter___mtype
].val
; /* _mtype on <var_p460:MParameter> */
2242 if (unlikely(var463
== NULL
)) {
2243 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mtype");
2244 PRINT_ERROR(" (%s:%d)\n", "model/model.nit", 1565);
2248 RET_LABEL462
:(void)0;
2253 { /* Inline model#MParameter#mtype (var_sp) on <var_sp:MParameter> */
2254 var466
= var_sp
->attrs
[COLOR_model__MParameter___mtype
].val
; /* _mtype on <var_sp:MParameter> */
2255 if (unlikely(var466
== NULL
)) {
2256 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mtype");
2257 PRINT_ERROR(" (%s:%d)\n", "model/model.nit", 1565);
2261 RET_LABEL465
:(void)0;
2266 var467
= model__MType__is_subtype(var_sub
, var_mmodule
, var_anchor
, var_sup
);
2271 var470
= varonce469
;
2273 var471
= "Error: Cannot do an implicit constructor call to ";
2275 var473
= string__NativeString__to_s_with_length(var471
, var472
);
2277 varonce469
= var470
;
2280 var475
= varonce474
;
2282 var476
= ". Expected argument #";
2284 var478
= string__NativeString__to_s_with_length(var476
, var477
);
2286 varonce474
= var475
;
2289 var480
= varonce479
;
2291 var481
= " of type ";
2293 var483
= string__NativeString__to_s_with_length(var481
, var482
);
2295 varonce479
= var480
;
2298 { /* Inline model#MParameter#mtype (var_sp) on <var_sp:MParameter> */
2299 var486
= var_sp
->attrs
[COLOR_model__MParameter___mtype
].val
; /* _mtype on <var_sp:MParameter> */
2300 if (unlikely(var486
== NULL
)) {
2301 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mtype");
2302 PRINT_ERROR(" (%s:%d)\n", "model/model.nit", 1565);
2306 RET_LABEL485
:(void)0;
2310 var488
= varonce487
;
2312 var489
= ", got implicit argument ";
2314 var491
= string__NativeString__to_s_with_length(var489
, var490
);
2316 varonce487
= var488
;
2319 { /* Inline model#MParameter#name (var_p460) on <var_p460:MParameter> */
2320 var494
= var_p460
->attrs
[COLOR_model__MParameter___name
].val
; /* _name on <var_p460:MParameter> */
2321 if (unlikely(var494
== NULL
)) {
2322 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _name");
2323 PRINT_ERROR(" (%s:%d)\n", "model/model.nit", 1562);
2327 RET_LABEL493
:(void)0;
2331 var496
= varonce495
;
2333 var497
= " of type ";
2335 var499
= string__NativeString__to_s_with_length(var497
, var498
);
2337 varonce495
= var496
;
2340 { /* Inline model#MParameter#mtype (var_p460) on <var_p460:MParameter> */
2341 var502
= var_p460
->attrs
[COLOR_model__MParameter___mtype
].val
; /* _mtype on <var_p460:MParameter> */
2342 if (unlikely(var502
== NULL
)) {
2343 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mtype");
2344 PRINT_ERROR(" (%s:%d)\n", "model/model.nit", 1565);
2348 RET_LABEL501
:(void)0;
2352 var504
= varonce503
;
2356 var507
= string__NativeString__to_s_with_length(var505
, var506
);
2358 varonce503
= var504
;
2360 var508
= NEW_array__Array(&type_array__Arraykernel__Object
);
2361 { /* var508 = array_instance Array[Object] */
2363 var510
= NEW_array__NativeArray(var509
, &type_array__NativeArraykernel__Object
);
2364 ((struct instance_array__NativeArray
*)var510
)->values
[0] = (val
*) var470
;
2365 ((struct instance_array__NativeArray
*)var510
)->values
[1] = (val
*) var_auto_super_init_def
;
2366 ((struct instance_array__NativeArray
*)var510
)->values
[2] = (val
*) var_supermsig
;
2367 ((struct instance_array__NativeArray
*)var510
)->values
[3] = (val
*) var475
;
2368 var511
= BOX_kernel__Int(var_i447
); /* autobox from Int to Object */
2369 ((struct instance_array__NativeArray
*)var510
)->values
[4] = (val
*) var511
;
2370 ((struct instance_array__NativeArray
*)var510
)->values
[5] = (val
*) var480
;
2371 ((struct instance_array__NativeArray
*)var510
)->values
[6] = (val
*) var484
;
2372 ((struct instance_array__NativeArray
*)var510
)->values
[7] = (val
*) var488
;
2373 ((struct instance_array__NativeArray
*)var510
)->values
[8] = (val
*) var492
;
2374 ((struct instance_array__NativeArray
*)var510
)->values
[9] = (val
*) var496
;
2375 ((struct instance_array__NativeArray
*)var510
)->values
[10] = (val
*) var500
;
2376 ((struct instance_array__NativeArray
*)var510
)->values
[11] = (val
*) var504
;
2378 ((void (*)(val
*, val
*, long))(var508
->class->vft
[COLOR_array__Array__with_native
]))(var508
, var510
, var509
) /* with_native on <var508:Array[Object]>*/;
2382 var512
= ((val
* (*)(val
*))(var508
->class->vft
[COLOR_string__Object__to_s
]))(var508
) /* to_s on <var508:Array[Object]>*/;
2385 modelbuilder__ModelBuilder__error(var_modelbuilder
, self
, var512
); /* Direct call modelbuilder#ModelBuilder#error on <var_modelbuilder:ModelBuilder>*/
2387 goto BREAK_label513
;
2392 { /* Inline kernel#Int#+ (var_i447,var514) on <var_i447:Int> */
2393 /* Covariant cast for argument 0 (i) <var514:Int> isa OTHER */
2394 /* <var514:Int> isa OTHER */
2395 var517
= 1; /* easy <var514:Int> isa OTHER*/
2396 if (unlikely(!var517
)) {
2397 var_class_name520
= type_kernel__Int
.name
;
2398 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name520
);
2399 PRINT_ERROR(" (%s:%d)\n", "../lib/standard/kernel.nit", 374);
2402 var521
= var_i447
+ var514
;
2405 RET_LABEL516
:(void)0;
2410 array__ArrayIterator__next(var_453
); /* Direct call array#ArrayIterator#next on <var_453:ArrayIterator[MParameter]>*/
2413 goto BREAK_label513
;
2416 BREAK_label513
: (void)0;
2418 { /* Inline abstract_collection#Iterator#finish (var_453) on <var_453:ArrayIterator[MParameter]> */
2419 RET_LABEL522
:(void)0;
2422 BREAK_label445
: (void)0;
2424 array__ArrayIterator__next(var_396
); /* Direct call array#ArrayIterator#next on <var_396:ArrayIterator[CallSite]>*/
2427 goto BREAK_label523
;
2430 BREAK_label523
: (void)0;
2432 { /* Inline abstract_collection#Iterator#finish (var_396) on <var_396:ArrayIterator[CallSite]> */
2433 RET_LABEL524
:(void)0;
2437 { /* Inline auto_super_init#AMethPropdef#auto_super_inits= (self,var_auto_super_inits) on <self:AMethPropdef> */
2438 self
->attrs
[COLOR_auto_super_init__AMethPropdef___auto_super_inits
].val
= var_auto_super_inits
; /* _auto_super_inits on <self:AMethPropdef> */
2439 RET_LABEL525
:(void)0;
2444 /* method auto_super_init#AMethPropdef#do_auto_super_init for (self: Object, ModelBuilder) */
2445 void VIRTUAL_auto_super_init__AMethPropdef__do_auto_super_init(val
* self
, val
* p0
) {
2446 auto_super_init__AMethPropdef__do_auto_super_init(self
, p0
); /* Direct call auto_super_init#AMethPropdef#do_auto_super_init on <self:Object(AMethPropdef)>*/
2449 /* method auto_super_init#ANode#accept_auto_super_init for (self: ANode, AutoSuperInitVisitor) */
2450 void auto_super_init__ANode__accept_auto_super_init(val
* self
, val
* p0
) {
2451 val
* var_v
/* var v: AutoSuperInitVisitor */;
2455 /* method auto_super_init#ANode#accept_auto_super_init for (self: Object, AutoSuperInitVisitor) */
2456 void VIRTUAL_auto_super_init__ANode__accept_auto_super_init(val
* self
, val
* p0
) {
2457 val
* var_v
/* var v: AutoSuperInitVisitor */;
2458 { /* Inline auto_super_init#ANode#accept_auto_super_init (self,p0) on <self:Object(ANode)> */
2464 /* method auto_super_init#ASendExpr#accept_auto_super_init for (self: ASendExpr, AutoSuperInitVisitor) */
2465 void auto_super_init__ASendExpr__accept_auto_super_init(val
* self
, val
* p0
) {
2466 val
* var_v
/* var v: AutoSuperInitVisitor */;
2467 val
* var
/* : nullable CallSite */;
2468 val
* var2
/* : nullable CallSite */;
2469 val
* var_callsite
/* var callsite: nullable CallSite */;
2470 val
* var3
/* : null */;
2471 short int var4
/* : Bool */;
2472 short int var5
/* : Bool */;
2473 val
* var_other
/* var other: nullable Object */;
2474 short int var7
/* : Bool */;
2475 short int var9
/* : Bool */;
2476 short int var10
/* : Bool */;
2477 val
* var12
/* : MMethod */;
2478 val
* var14
/* : MMethod */;
2479 short int var15
/* : Bool */;
2480 short int var17
/* : Bool */;
2483 { /* Inline typing#ASendExpr#callsite (self) on <self:ASendExpr> */
2484 var2
= self
->attrs
[COLOR_typing__ASendExpr___callsite
].val
; /* _callsite on <self:ASendExpr> */
2491 if (var_callsite
== NULL
) {
2492 var4
= 1; /* is null */
2494 var4
= 0; /* arg is null but recv is not */
2497 { /* Inline kernel#Object#== (var_callsite,var3) on <var_callsite:nullable CallSite> */
2500 { /* Inline kernel#Object#is_same_instance (var_callsite,var_other) on <var_callsite:nullable CallSite(CallSite)> */
2501 var9
= var_callsite
== var_other
;
2516 { /* Inline auto_super_init#AutoSuperInitVisitor#is_broken= (var_v,var10) on <var_v:AutoSuperInitVisitor> */
2517 var_v
->attrs
[COLOR_auto_super_init__AutoSuperInitVisitor___is_broken
].s
= var10
; /* _is_broken on <var_v:AutoSuperInitVisitor> */
2518 RET_LABEL11
:(void)0;
2525 { /* Inline typing#CallSite#mproperty (var_callsite) on <var_callsite:nullable CallSite(CallSite)> */
2526 var14
= var_callsite
->attrs
[COLOR_typing__CallSite___mproperty
].val
; /* _mproperty on <var_callsite:nullable CallSite(CallSite)> */
2527 if (unlikely(var14
== NULL
)) {
2528 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty");
2529 PRINT_ERROR(" (%s:%d)\n", "semantize/typing.nit", 483);
2533 RET_LABEL13
:(void)0;
2537 { /* Inline model#MMethod#is_init (var12) on <var12:MMethod> */
2538 var17
= var12
->attrs
[COLOR_model__MMethod___is_init
].s
; /* _is_init on <var12:MMethod> */
2540 RET_LABEL16
:(void)0;
2545 { /* Inline auto_super_init#AutoSuperInitVisitor#has_explicit_super_init= (var_v,self) on <var_v:AutoSuperInitVisitor> */
2546 var_v
->attrs
[COLOR_auto_super_init__AutoSuperInitVisitor___has_explicit_super_init
].val
= self
; /* _has_explicit_super_init on <var_v:AutoSuperInitVisitor> */
2547 RET_LABEL18
:(void)0;
2554 /* method auto_super_init#ASendExpr#accept_auto_super_init for (self: Object, AutoSuperInitVisitor) */
2555 void VIRTUAL_auto_super_init__ASendExpr__accept_auto_super_init(val
* self
, val
* p0
) {
2556 auto_super_init__ASendExpr__accept_auto_super_init(self
, p0
); /* Direct call auto_super_init#ASendExpr#accept_auto_super_init on <self:Object(ASendExpr)>*/
2559 /* method auto_super_init#ASuperExpr#accept_auto_super_init for (self: ASuperExpr, AutoSuperInitVisitor) */
2560 void auto_super_init__ASuperExpr__accept_auto_super_init(val
* self
, val
* p0
) {
2561 val
* var_v
/* var v: AutoSuperInitVisitor */;
2564 { /* Inline auto_super_init#AutoSuperInitVisitor#has_explicit_super_init= (var_v,self) on <var_v:AutoSuperInitVisitor> */
2565 var_v
->attrs
[COLOR_auto_super_init__AutoSuperInitVisitor___has_explicit_super_init
].val
= self
; /* _has_explicit_super_init on <var_v:AutoSuperInitVisitor> */
2571 /* method auto_super_init#ASuperExpr#accept_auto_super_init for (self: Object, AutoSuperInitVisitor) */
2572 void VIRTUAL_auto_super_init__ASuperExpr__accept_auto_super_init(val
* self
, val
* p0
) {
2573 auto_super_init__ASuperExpr__accept_auto_super_init(self
, p0
); /* Direct call auto_super_init#ASuperExpr#accept_auto_super_init on <self:Object(ASuperExpr)>*/