X-Git-Url: http://nitlanguage.org diff --git a/c_src/nitc__modelize_property.sep.1.c b/c_src/nitc__modelize_property.sep.1.c index df3ae9c..c4051b6 100644 --- a/c_src/nitc__modelize_property.sep.1.c +++ b/c_src/nitc__modelize_property.sep.1.c @@ -1,10 +1,13 @@ #include "nitc__modelize_property.sep.0.h" -/* method modelize_property#ToolContext#modelize_property_phase for (self: ToolContext): Phase */ +/* method modelize_property$ToolContext$modelize_property_phase for (self: ToolContext): Phase */ val* nitc__modelize_property___ToolContext___modelize_property_phase(val* self) { val* var /* : Phase */; val* var1 /* : Phase */; var1 = self->attrs[COLOR_nitc__modelize_property__ToolContext___modelize_property_phase].val; /* _modelize_property_phase on */ if (unlikely(var1 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _modelize_property_phase"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property, 24); fatal_exit(1); @@ -13,7 +16,7 @@ var = var1; RET_LABEL:; return var; } -/* method modelize_property#ModelizePropertyPhase#process_nmodule for (self: ModelizePropertyPhase, AModule) */ +/* method modelize_property$ModelizePropertyPhase$process_nmodule for (self: ModelizePropertyPhase, AModule) */ void nitc__modelize_property___nitc__modelize_property__ModelizePropertyPhase___nitc__phase__Phase__process_nmodule(val* self, val* p0) { val* var_nmodule /* var nmodule: AModule */; val* var /* : ANodes[AClassdef] */; @@ -33,11 +36,14 @@ val* var15 /* : ToolContext */; val* var16 /* : ModelBuilder */; var_nmodule = p0; { -{ /* Inline parser_nodes#AModule#n_classdefs (var_nmodule) on */ +{ /* Inline parser_nodes$AModule$n_classdefs (var_nmodule) on */ var2 = var_nmodule->attrs[COLOR_nitc__parser_nodes__AModule___n_classdefs].val; /* _n_classdefs on */ if (unlikely(var2 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_classdefs"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1062); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1125); fatal_exit(1); } var = var2; @@ -62,7 +68,7 @@ var6 = ((val*(*)(val* self))((((long)var_4&3)?class_info[((long)var_4&3)]:var_4- } var_nclassdef = var6; { -{ /* Inline modelize_class#AClassdef#all_defs (var_nclassdef) on */ +{ /* Inline modelize_class$AClassdef$all_defs (var_nclassdef) on */ var9 = var_nclassdef->attrs[COLOR_nitc__modelize_class__AClassdef___all_defs].val; /* _all_defs on */ var7 = var9; RET_LABEL8:(void)0; @@ -82,11 +88,14 @@ goto BREAK_label12; } else { } { -{ /* Inline phase#Phase#toolcontext (self) on */ +{ /* Inline phase$Phase$toolcontext (self) on */ var15 = self->attrs[COLOR_nitc__phase__Phase___toolcontext].val; /* _toolcontext on */ if (unlikely(var15 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _toolcontext"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__phase, 200); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__phase, 210); fatal_exit(1); } var13 = var15; @@ -97,7 +106,7 @@ RET_LABEL14:(void)0; var16 = nitc__modelbuilder_base___ToolContext___modelbuilder(var13); } { -nitc__modelize_property___ModelBuilder___build_properties(var16, var_nclassdef); /* Direct call modelize_property#ModelBuilder#build_properties on */ +nitc__modelize_property___ModelBuilder___build_properties(var16, var_nclassdef); /* Direct call modelize_property$ModelBuilder$build_properties on */ } BREAK_label12: (void)0; { @@ -110,12 +119,15 @@ BREAK_label: (void)0; } RET_LABEL:; } -/* method modelize_property#ModelBuilder#mpropdef2npropdef for (self: ModelBuilder): HashMap[MPropDef, APropdef] */ +/* method modelize_property$ModelBuilder$mpropdef2npropdef for (self: ModelBuilder): HashMap[MPropDef, APropdef] */ val* nitc__modelize_property___ModelBuilder___mpropdef2npropdef(val* self) { val* var /* : HashMap[MPropDef, APropdef] */; val* var1 /* : HashMap[MPropDef, APropdef] */; var1 = self->attrs[COLOR_nitc__modelize_property__ModelBuilder___mpropdef2npropdef].val; /* _mpropdef2npropdef on */ if (unlikely(var1 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mpropdef2npropdef"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property, 40); fatal_exit(1); @@ -124,7 +136,7 @@ var = var1; RET_LABEL:; return var; } -/* method modelize_property#ModelBuilder#mpropdef2node for (self: ModelBuilder, MPropDef): nullable ANode */ +/* method modelize_property$ModelBuilder$mpropdef2node for (self: ModelBuilder, MPropDef): nullable ANode */ val* nitc__modelize_property___ModelBuilder___mpropdef2node(val* self, val* p0) { val* var /* : nullable ANode */; val* var_mpropdef /* var mpropdef: MPropDef */; @@ -159,9 +171,12 @@ short int var31 /* : Bool */; short int var32 /* : Bool */; var_mpropdef = p0; { -{ /* Inline modelize_property#ModelBuilder#mpropdef2npropdef (self) on */ +{ /* Inline modelize_property$ModelBuilder$mpropdef2npropdef (self) on */ var3 = self->attrs[COLOR_nitc__modelize_property__ModelBuilder___mpropdef2npropdef].val; /* _mpropdef2npropdef on */ if (unlikely(var3 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mpropdef2npropdef"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property, 40); fatal_exit(1); @@ -180,10 +195,10 @@ var5 = 0; /* is null */ var5 = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_res,((val*)NULL)) on */ +{ /* Inline kernel$Object$!= (var_res,((val*)NULL)) on */ var_other = ((val*)NULL); { -var8 = ((short int(*)(val* self, val* p0))(var_res->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_res, var_other); /* == on */ +var8 = ((short int(*)(val* self, val* p0))(var_res->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_res, var_other); /* == on */ } var9 = !var8; var6 = var9; @@ -194,9 +209,12 @@ var5 = var6; } if (var5){ { -{ /* Inline modelbuilder_base#ModelBuilder#toolcontext (self) on */ +{ /* Inline modelbuilder_base$ModelBuilder$toolcontext (self) on */ var12 = self->attrs[COLOR_nitc__modelbuilder_base__ModelBuilder___toolcontext].val; /* _toolcontext on */ if (unlikely(var12 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _toolcontext"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelbuilder_base, 47); fatal_exit(1); @@ -206,7 +224,7 @@ RET_LABEL11:(void)0; } } { -nitc__phase___ToolContext___run_phases_on_npropdef(var10, var_res); /* Direct call phase#ToolContext#run_phases_on_npropdef on */ +nitc__phase___ToolContext___run_phases_on_npropdef(var10, var_res); /* Direct call phase$ToolContext$run_phases_on_npropdef on */ } var = var_res; goto RET_LABEL; @@ -223,11 +241,14 @@ var14 = var_mpropdef->type->type_table[cltype] == idtype; var_ = var14; if (var14){ { -{ /* Inline model#MPropDef#mproperty (var_mpropdef) on */ +{ /* Inline model$MPropDef$mproperty (var_mpropdef) on */ var17 = var_mpropdef->attrs[COLOR_nitc__model__MPropDef___mproperty].val; /* _mproperty on */ if (unlikely(var17 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2230); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2357); fatal_exit(1); } var15 = var17; @@ -235,7 +256,7 @@ RET_LABEL16:(void)0; } } { -{ /* Inline model#MMethod#is_root_init (var15) on */ +{ /* Inline model$MMethod$is_root_init (var15) on */ var20 = var15->attrs[COLOR_nitc__model__MMethod___is_root_init].s; /* _is_root_init on */ var18 = var20; RET_LABEL19:(void)0; @@ -247,11 +268,14 @@ var13 = var_; } if (var13){ { -{ /* Inline modelize_class#ModelBuilder#mclassdef2nclassdef (self) on */ +{ /* Inline modelize_class$ModelBuilder$mclassdef2nclassdef (self) on */ var23 = self->attrs[COLOR_nitc__modelize_class__ModelBuilder___mclassdef2nclassdef].val; /* _mclassdef2nclassdef on */ if (unlikely(var23 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclassdef2nclassdef"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_class, 435); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_class, 448); fatal_exit(1); } var21 = var23; @@ -259,11 +283,14 @@ RET_LABEL22:(void)0; } } { -{ /* Inline model#MPropDef#mclassdef (var_mpropdef) on */ +{ /* Inline model$MPropDef$mclassdef (var_mpropdef) on */ var26 = var_mpropdef->attrs[COLOR_nitc__model__MPropDef___mclassdef].val; /* _mclassdef on */ if (unlikely(var26 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclassdef"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2227); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2354); fatal_exit(1); } var24 = var26; @@ -280,10 +307,10 @@ var28 = 0; /* is null */ var28 = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_res,((val*)NULL)) on */ +{ /* Inline kernel$Object$!= (var_res,((val*)NULL)) on */ var_other = ((val*)NULL); { -var31 = ((short int(*)(val* self, val* p0))(var_res->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_res, var_other); /* == on */ +var31 = ((short int(*)(val* self, val* p0))(var_res->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_res, var_other); /* == on */ } var32 = !var31; var29 = var32; @@ -304,7 +331,7 @@ goto RET_LABEL; RET_LABEL:; return var; } -/* method modelize_property#ModelBuilder#collect_attr_propdef for (self: ModelBuilder, MClassDef): Array[AAttrPropdef] */ +/* method modelize_property$ModelBuilder$collect_attr_propdef for (self: ModelBuilder, MClassDef): Array[AAttrPropdef] */ val* nitc__modelize_property___ModelBuilder___collect_attr_propdef(val* self, val* p0) { val* var /* : Array[AAttrPropdef] */; val* var_mclassdef /* var mclassdef: MClassDef */; @@ -335,15 +362,18 @@ val* var22 /* : ToolContext */; var_mclassdef = p0; var1 = NEW_core__Array(&type_core__Array__nitc__AAttrPropdef); { -core___core__Array___core__kernel__Object__init(var1); /* Direct call array#Array#init on */ +core___core__Array___core__kernel__Object__init(var1); /* Direct call array$Array$init on */ } var_res = var1; { -{ /* Inline modelize_class#ModelBuilder#mclassdef2nclassdef (self) on */ +{ /* Inline modelize_class$ModelBuilder$mclassdef2nclassdef (self) on */ var4 = self->attrs[COLOR_nitc__modelize_class__ModelBuilder___mclassdef2nclassdef].val; /* _mclassdef2nclassdef on */ if (unlikely(var4 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclassdef2nclassdef"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_class, 435); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_class, 448); fatal_exit(1); } var2 = var4; @@ -360,10 +390,10 @@ var6 = 1; /* is null */ var6 = 0; /* arg is null but recv is not */ } if (0) { -{ /* Inline kernel#Object#== (var_n,((val*)NULL)) on */ +{ /* Inline kernel$Object$== (var_n,((val*)NULL)) on */ var_other = ((val*)NULL); { -{ /* Inline kernel#Object#is_same_instance (var_n,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var_n,var_other) on */ var11 = var_n == var_other; var9 = var11; goto RET_LABEL10; @@ -382,11 +412,14 @@ goto RET_LABEL; } else { } { -{ /* Inline parser_nodes#AClassdef#n_propdefs (var_n) on */ +{ /* Inline parser_nodes$AClassdef$n_propdefs (var_n) on */ var14 = var_n->attrs[COLOR_nitc__parser_nodes__AClassdef___n_propdefs].val; /* _n_propdefs on */ if (unlikely(var14 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_propdefs"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1155); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1218); fatal_exit(1); } var12 = var14; @@ -420,9 +453,12 @@ var19 = var_npropdef->type->type_table[cltype] == idtype; } if (var19){ { -{ /* Inline modelbuilder_base#ModelBuilder#toolcontext (self) on */ +{ /* Inline modelbuilder_base$ModelBuilder$toolcontext (self) on */ var22 = self->attrs[COLOR_nitc__modelbuilder_base__ModelBuilder___toolcontext].val; /* _toolcontext on */ if (unlikely(var22 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _toolcontext"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelbuilder_base, 47); fatal_exit(1); @@ -432,10 +468,10 @@ RET_LABEL21:(void)0; } } { -nitc__phase___ToolContext___run_phases_on_npropdef(var20, var_npropdef); /* Direct call phase#ToolContext#run_phases_on_npropdef on */ +nitc__phase___ToolContext___run_phases_on_npropdef(var20, var_npropdef); /* Direct call phase$ToolContext$run_phases_on_npropdef on */ } { -core___core__Array___core__abstract_collection__SimpleCollection__add(var_res, var_npropdef); /* Direct call array#Array#add on */ +core___core__Array___core__abstract_collection__SimpleCollection__add(var_res, var_npropdef); /* Direct call array$Array$add on */ } } else { } @@ -452,7 +488,7 @@ goto RET_LABEL; RET_LABEL:; return var; } -/* method modelize_property#ModelBuilder#build_properties for (self: ModelBuilder, AClassdef) */ +/* method modelize_property$ModelBuilder$build_properties for (self: ModelBuilder, AClassdef) */ void nitc__modelize_property___ModelBuilder___build_properties(val* self, val* p0) { val* var_nclassdef /* var nclassdef: AClassdef */; short int var /* : Bool */; @@ -544,7 +580,7 @@ val* var105 /* : MModule */; val* var107 /* : MModule */; short int var108 /* : Bool */; short int var109 /* : Bool */; -val* var111 /* : MBottomType */; +val* var111 /* : MErrorType */; val* var112 /* : MModule */; val* var114 /* : MModule */; val* var115 /* : Model */; @@ -574,7 +610,7 @@ int cltype145; int idtype146; var_nclassdef = p0; { -{ /* Inline modelize_property#AClassdef#build_properties_is_done (var_nclassdef) on */ +{ /* Inline modelize_property$AClassdef$build_properties_is_done (var_nclassdef) on */ var2 = var_nclassdef->attrs[COLOR_nitc__modelize_property__AClassdef___build_properties_is_done].s; /* _build_properties_is_done on */ var = var2; RET_LABEL1:(void)0; @@ -585,13 +621,13 @@ goto RET_LABEL; } else { } { -{ /* Inline modelize_property#AClassdef#build_properties_is_done= (var_nclassdef,1) on */ +{ /* Inline modelize_property$AClassdef$build_properties_is_done= (var_nclassdef,1) on */ var_nclassdef->attrs[COLOR_nitc__modelize_property__AClassdef___build_properties_is_done].s = 1; /* _build_properties_is_done on */ RET_LABEL3:(void)0; } } { -{ /* Inline modelize_class#AClassdef#mclassdef (var_nclassdef) on */ +{ /* Inline modelize_class$AClassdef$mclassdef (var_nclassdef) on */ var6 = var_nclassdef->attrs[COLOR_nitc__modelize_class__AClassdef___mclassdef].val; /* _mclassdef on */ var4 = var6; RET_LABEL5:(void)0; @@ -604,10 +640,10 @@ var7 = 1; /* is null */ var7 = 0; /* arg is null but recv is not */ } if (0) { -{ /* Inline kernel#Object#== (var_mclassdef,((val*)NULL)) on */ +{ /* Inline kernel$Object$== (var_mclassdef,((val*)NULL)) on */ var_other = ((val*)NULL); { -{ /* Inline kernel#Object#is_same_instance (var_mclassdef,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var_mclassdef,var_other) on */ var12 = var_mclassdef == var_other; var10 = var12; goto RET_LABEL11; @@ -625,7 +661,7 @@ goto RET_LABEL; } else { } { -{ /* Inline model#MClassDef#in_hierarchy (var_mclassdef) on */ +{ /* Inline model$MClassDef$in_hierarchy (var_mclassdef) on */ var15 = var_mclassdef->attrs[COLOR_nitc__model__MClassDef___in_hierarchy].val; /* _in_hierarchy on */ var13 = var15; RET_LABEL14:(void)0; @@ -637,10 +673,10 @@ var16 = 1; /* is null */ var16 = 0; /* arg is null but recv is not */ } if (0) { -{ /* Inline kernel#Object#== (var13,((val*)NULL)) on */ +{ /* Inline kernel$Object$== (var13,((val*)NULL)) on */ var_other = ((val*)NULL); { -{ /* Inline kernel#Object#is_same_instance (var13,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var13,var_other) on */ var21 = var13 == var_other; var19 = var21; goto RET_LABEL20; @@ -658,15 +694,18 @@ goto RET_LABEL; } else { } { -{ /* Inline model#MClassDef#in_hierarchy (var_mclassdef) on */ +{ /* Inline model$MClassDef$in_hierarchy (var_mclassdef) on */ var24 = var_mclassdef->attrs[COLOR_nitc__model__MClassDef___in_hierarchy].val; /* _in_hierarchy on */ var22 = var24; RET_LABEL23:(void)0; } } if (var22 == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property, 92); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property, 91); fatal_exit(1); } else { var25 = poset___poset__POSetElement___direct_greaters(var22); @@ -689,11 +728,14 @@ var29 = ((val*(*)(val* self))((((long)var_27&3)?class_info[((long)var_27&3)]:var } var_superclassdef = var29; { -{ /* Inline modelize_class#ModelBuilder#mclassdef2nclassdef (self) on */ +{ /* Inline modelize_class$ModelBuilder$mclassdef2nclassdef (self) on */ var32 = self->attrs[COLOR_nitc__modelize_class__ModelBuilder___mclassdef2nclassdef].val; /* _mclassdef2nclassdef on */ if (unlikely(var32 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclassdef2nclassdef"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_class, 435); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_class, 448); fatal_exit(1); } var30 = var32; @@ -709,11 +751,14 @@ goto BREAK_label35; } else { } { -{ /* Inline modelize_class#ModelBuilder#mclassdef2nclassdef (self) on */ +{ /* Inline modelize_class$ModelBuilder$mclassdef2nclassdef (self) on */ var38 = self->attrs[COLOR_nitc__modelize_class__ModelBuilder___mclassdef2nclassdef].val; /* _mclassdef2nclassdef on */ if (unlikely(var38 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclassdef2nclassdef"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_class, 435); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_class, 448); fatal_exit(1); } var36 = var38; @@ -724,7 +769,7 @@ RET_LABEL37:(void)0; var39 = core___core__HashMap___core__abstract_collection__MapRead___91d_93d(var36, var_superclassdef); } { -nitc__modelize_property___ModelBuilder___build_properties(self, var39); /* Direct call modelize_property#ModelBuilder#build_properties on */ +nitc__modelize_property___ModelBuilder___build_properties(self, var39); /* Direct call modelize_property$ModelBuilder$build_properties on */ } BREAK_label35: (void)0; { @@ -736,10 +781,10 @@ BREAK_label: (void)0; ((void(*)(val* self))((((long)var_27&3)?class_info[((long)var_27&3)]:var_27->class)->vft[COLOR_core__abstract_collection__Iterator__finish]))(var_27); /* finish on */ } { -nitc__modelize_property___MClassDef___build_self_type(var_mclassdef, self, var_nclassdef); /* Direct call modelize_property#MClassDef#build_self_type on */ +nitc__modelize_property___MClassDef___build_self_type(var_mclassdef, self, var_nclassdef); /* Direct call modelize_property$MClassDef$build_self_type on */ } { -{ /* Inline modelize_class#AClassdef#all_defs (var_nclassdef) on */ +{ /* Inline modelize_class$AClassdef$all_defs (var_nclassdef) on */ var42 = var_nclassdef->attrs[COLOR_nitc__modelize_class__AClassdef___all_defs].val; /* _all_defs on */ var40 = var42; RET_LABEL41:(void)0; @@ -747,8 +792,11 @@ RET_LABEL41:(void)0; } var_43 = var40; if (var_43 == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property, 98); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property, 97); fatal_exit(1); } else { var44 = core___core__AbstractArrayRead___core__abstract_collection__Collection__iterator(var_43); @@ -767,11 +815,14 @@ var48 = ((val*(*)(val* self))((((long)var_45&3)?class_info[((long)var_45&3)]:var } var_nclassdef2 = var48; { -{ /* Inline parser_nodes#AClassdef#n_propdefs (var_nclassdef2) on */ +{ /* Inline parser_nodes$AClassdef$n_propdefs (var_nclassdef2) on */ var51 = var_nclassdef2->attrs[COLOR_nitc__parser_nodes__AClassdef___n_propdefs].val; /* _n_propdefs on */ if (unlikely(var51 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_propdefs"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1155); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1218); fatal_exit(1); } var49 = var51; @@ -807,11 +858,14 @@ BREAK_label56: (void)0; ((void(*)(val* self))((((long)var_54&3)?class_info[((long)var_54&3)]:var_54->class)->vft[COLOR_core__abstract_collection__Iterator__finish]))(var_54); /* finish on */ } { -{ /* Inline parser_nodes#AClassdef#n_propdefs (var_nclassdef2) on */ +{ /* Inline parser_nodes$AClassdef$n_propdefs (var_nclassdef2) on */ var60 = var_nclassdef2->attrs[COLOR_nitc__parser_nodes__AClassdef___n_propdefs].val; /* _n_propdefs on */ if (unlikely(var60 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_propdefs"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1155); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1218); fatal_exit(1); } var58 = var60; @@ -847,11 +901,14 @@ BREAK_label65: (void)0; ((void(*)(val* self))((((long)var_63&3)?class_info[((long)var_63&3)]:var_63->class)->vft[COLOR_core__abstract_collection__Iterator__finish]))(var_63); /* finish on */ } { -{ /* Inline parser_nodes#AClassdef#n_propdefs (var_nclassdef2) on */ +{ /* Inline parser_nodes$AClassdef$n_propdefs (var_nclassdef2) on */ var70 = var_nclassdef2->attrs[COLOR_nitc__parser_nodes__AClassdef___n_propdefs].val; /* _n_propdefs on */ if (unlikely(var70 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_propdefs"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1155); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1218); fatal_exit(1); } var68 = var70; @@ -889,7 +946,7 @@ goto BREAK_label80; } else { } { -{ /* Inline modelize_property#APropdef#mpropdef (var_npropdef77) on */ +{ /* Inline modelize_property$APropdef$mpropdef (var_npropdef77) on */ var83 = var_npropdef77->attrs[COLOR_nitc__modelize_property__APropdef___mpropdef].val; /* _mpropdef on */ var81 = var83; RET_LABEL82:(void)0; @@ -902,10 +959,10 @@ var84 = 1; /* is null */ var84 = 0; /* arg is null but recv is not */ } if (0) { -{ /* Inline kernel#Object#== (var_mpropdef,((val*)NULL)) on */ +{ /* Inline kernel$Object$== (var_mpropdef,((val*)NULL)) on */ var_other = ((val*)NULL); { -{ /* Inline kernel#Object#is_same_instance (var_mpropdef,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var_mpropdef,var_other) on */ var89 = var_mpropdef == var_other; var87 = var89; goto RET_LABEL88; @@ -923,7 +980,7 @@ goto BREAK_label80; } else { } { -{ /* Inline model#MVirtualTypeDef#bound (var_mpropdef) on */ +{ /* Inline model$MVirtualTypeDef$bound (var_mpropdef) on */ var92 = var_mpropdef->attrs[COLOR_nitc__model__MVirtualTypeDef___bound].val; /* _bound on */ var90 = var92; RET_LABEL91:(void)0; @@ -935,10 +992,10 @@ var93 = 1; /* is null */ var93 = 0; /* arg is null but recv is not */ } if (0) { -{ /* Inline kernel#Object#== (var90,((val*)NULL)) on */ +{ /* Inline kernel$Object$== (var90,((val*)NULL)) on */ var_other = ((val*)NULL); { -{ /* Inline kernel#Object#is_same_instance (var90,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var90,var_other) on */ var98 = var90 == var_other; var96 = var98; goto RET_LABEL97; @@ -956,11 +1013,14 @@ goto BREAK_label80; } else { } { -{ /* Inline model#MPropDef#mproperty (var_mpropdef) on */ +{ /* Inline model$MPropDef$mproperty (var_mpropdef) on */ var101 = var_mpropdef->attrs[COLOR_nitc__model__MPropDef___mproperty].val; /* _mproperty on */ if (unlikely(var101 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2230); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2357); fatal_exit(1); } var99 = var101; @@ -968,11 +1028,14 @@ RET_LABEL100:(void)0; } } { -{ /* Inline model#MClassDef#bound_mtype (var_mclassdef) on */ +{ /* Inline model$MClassDef$bound_mtype (var_mclassdef) on */ var104 = var_mclassdef->attrs[COLOR_nitc__model__MClassDef___bound_mtype].val; /* _bound_mtype on */ if (unlikely(var104 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _bound_mtype"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 579); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 594); fatal_exit(1); } var102 = var104; @@ -980,11 +1043,14 @@ RET_LABEL103:(void)0; } } { -{ /* Inline model#MClassDef#mmodule (var_mclassdef) on */ +{ /* Inline model$MClassDef$mmodule (var_mclassdef) on */ var107 = var_mclassdef->attrs[COLOR_nitc__model__MClassDef___mmodule].val; /* _mmodule on */ if (unlikely(var107 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mmodule"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 573); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 588); fatal_exit(1); } var105 = var107; @@ -997,18 +1063,21 @@ var108 = nitc__modelize_property___ModelBuilder___check_virtual_types_circularit var109 = !var108; if (var109){ { -{ /* Inline model_base#MEntity#is_broken= (var_mpropdef,1) on */ +{ /* Inline model_base$MEntity$is_broken= (var_mpropdef,1) on */ var_mpropdef->attrs[COLOR_nitc__model_base__MEntity___is_broken].s = 1; /* _is_broken on */ RET_LABEL110:(void)0; } } -var111 = NEW_nitc__MBottomType(&type_nitc__MBottomType); +var111 = NEW_nitc__MErrorType(&type_nitc__MErrorType); { -{ /* Inline model#MClassDef#mmodule (var_mclassdef) on */ +{ /* Inline model$MClassDef$mmodule (var_mclassdef) on */ var114 = var_mclassdef->attrs[COLOR_nitc__model__MClassDef___mmodule].val; /* _mmodule on */ if (unlikely(var114 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mmodule"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 573); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 588); fatal_exit(1); } var112 = var114; @@ -1016,11 +1085,14 @@ RET_LABEL113:(void)0; } } { -{ /* Inline mmodule#MModule#model (var112) on */ +{ /* Inline mmodule$MModule$model (var112) on */ var117 = var112->attrs[COLOR_nitc__mmodule__MModule___model].val; /* _model on */ if (unlikely(var117 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _model"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__mmodule, 78); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__mmodule, 77); fatal_exit(1); } var115 = var117; @@ -1028,13 +1100,13 @@ RET_LABEL116:(void)0; } } { -((void(*)(val* self, val* p0))(var111->class->vft[COLOR_nitc__model__MBottomType__model_61d]))(var111, var115); /* model= on */ +((void(*)(val* self, val* p0))(var111->class->vft[COLOR_nitc__model__MErrorType__model_61d]))(var111, var115); /* model= on */ } { -((void(*)(val* self))(var111->class->vft[COLOR_core__kernel__Object__init]))(var111); /* init on */ +((void(*)(val* self))(var111->class->vft[COLOR_core__kernel__Object__init]))(var111); /* init on */ } { -{ /* Inline model#MVirtualTypeDef#bound= (var_mpropdef,var111) on */ +{ /* Inline model$MVirtualTypeDef$bound= (var_mpropdef,var111) on */ var_mpropdef->attrs[COLOR_nitc__model__MVirtualTypeDef___bound].val = var111; /* _bound on */ RET_LABEL118:(void)0; } @@ -1051,11 +1123,14 @@ BREAK_label75: (void)0; ((void(*)(val* self))((((long)var_73&3)?class_info[((long)var_73&3)]:var_73->class)->vft[COLOR_core__abstract_collection__Iterator__finish]))(var_73); /* finish on */ } { -{ /* Inline parser_nodes#AClassdef#n_propdefs (var_nclassdef2) on */ +{ /* Inline parser_nodes$AClassdef$n_propdefs (var_nclassdef2) on */ var121 = var_nclassdef2->attrs[COLOR_nitc__parser_nodes__AClassdef___n_propdefs].val; /* _n_propdefs on */ if (unlikely(var121 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_propdefs"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1155); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1218); fatal_exit(1); } var119 = var121; @@ -1093,7 +1168,7 @@ goto BREAK_label133; } else { } { -nitc__modelize_property___ATypePropdef___APropdef__check_signature(var_npropdef128, self); /* Direct call modelize_property#ATypePropdef#check_signature on */ +nitc__modelize_property___ATypePropdef___APropdef__check_signature(var_npropdef128, self); /* Direct call modelize_property$ATypePropdef$check_signature on */ } BREAK_label133: (void)0; { @@ -1105,11 +1180,14 @@ BREAK_label126: (void)0; ((void(*)(val* self))((((long)var_124&3)?class_info[((long)var_124&3)]:var_124->class)->vft[COLOR_core__abstract_collection__Iterator__finish]))(var_124); /* finish on */ } { -{ /* Inline parser_nodes#AClassdef#n_propdefs (var_nclassdef2) on */ +{ /* Inline parser_nodes$AClassdef$n_propdefs (var_nclassdef2) on */ var136 = var_nclassdef2->attrs[COLOR_nitc__parser_nodes__AClassdef___n_propdefs].val; /* _n_propdefs on */ if (unlikely(var136 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_propdefs"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1155); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1218); fatal_exit(1); } var134 = var136; @@ -1166,11 +1244,11 @@ BREAK_label47: (void)0; ((void(*)(val* self))((((long)var_45&3)?class_info[((long)var_45&3)]:var_45->class)->vft[COLOR_core__abstract_collection__Iterator__finish]))(var_45); /* finish on */ } { -nitc__modelize_property___ModelBuilder___process_default_constructors(self, var_nclassdef); /* Direct call modelize_property#ModelBuilder#process_default_constructors on */ +nitc__modelize_property___ModelBuilder___process_default_constructors(self, var_nclassdef); /* Direct call modelize_property$ModelBuilder$process_default_constructors on */ } RET_LABEL:; } -/* method modelize_property#ModelBuilder#the_root_init_mmethod for (self: ModelBuilder): nullable MMethod */ +/* method modelize_property$ModelBuilder$the_root_init_mmethod for (self: ModelBuilder): nullable MMethod */ val* nitc__modelize_property___ModelBuilder___the_root_init_mmethod(val* self) { val* var /* : nullable MMethod */; val* var1 /* : nullable MMethod */; @@ -1179,12 +1257,12 @@ var = var1; RET_LABEL:; return var; } -/* method modelize_property#ModelBuilder#the_root_init_mmethod= for (self: ModelBuilder, nullable MMethod) */ +/* method modelize_property$ModelBuilder$the_root_init_mmethod= for (self: ModelBuilder, nullable MMethod) */ void nitc__modelize_property___ModelBuilder___the_root_init_mmethod_61d(val* self, val* p0) { self->attrs[COLOR_nitc__modelize_property__ModelBuilder___the_root_init_mmethod].val = p0; /* _the_root_init_mmethod on */ RET_LABEL:; } -/* method modelize_property#ModelBuilder#process_default_constructors for (self: ModelBuilder, AClassdef) */ +/* method modelize_property$ModelBuilder$process_default_constructors for (self: ModelBuilder, AClassdef) */ void nitc__modelize_property___ModelBuilder___process_default_constructors(val* self, val* p0) { val* var_nclassdef /* var nclassdef: AClassdef */; val* var /* : nullable MClassDef */; @@ -1199,584 +1277,730 @@ val* var9 /* : String */; val* var11 /* : String */; static val* varonce; val* var12 /* : String */; -char* var13 /* : NativeString */; +char* var13 /* : CString */; val* var14 /* : String */; -short int var15 /* : Bool */; -short int var_ /* var : Bool */; -val* var16 /* : nullable MMethod */; -val* var18 /* : nullable MMethod */; +val* var15 /* : nullable Int */; +val* var16 /* : nullable Int */; +val* var17 /* : nullable Bool */; +val* var18 /* : nullable Bool */; short int var19 /* : Bool */; -short int var20 /* : Bool */; -val* var_other /* var other: nullable Object */; -short int var22 /* : Bool */; +short int var_ /* var : Bool */; +val* var20 /* : nullable MMethod */; +val* var22 /* : nullable MMethod */; +short int var23 /* : Bool */; short int var24 /* : Bool */; -val* var25 /* : MMethod */; -static val* varonce26; -val* var27 /* : String */; -char* var28 /* : NativeString */; -val* var29 /* : String */; -val* var30 /* : MClass */; -val* var32 /* : MClass */; -val* var33 /* : MVisibility */; -val* var35 /* : MVisibility */; -val* var_mprop /* var mprop: MMethod */; -val* var37 /* : MMethodDef */; +val* var_other /* var other: nullable Object */; +short int var26 /* : Bool */; +short int var28 /* : Bool */; +val* var29 /* : MMethod */; +static val* varonce30; +val* var31 /* : String */; +char* var32 /* : CString */; +val* var33 /* : String */; +val* var34 /* : nullable Int */; +val* var35 /* : nullable Int */; +val* var36 /* : nullable Bool */; +val* var37 /* : nullable Bool */; val* var38 /* : Location */; val* var40 /* : Location */; +val* var41 /* : MClass */; +val* var43 /* : MClass */; +val* var44 /* : MVisibility */; +val* var46 /* : MVisibility */; +val* var_mprop /* var mprop: MMethod */; +val* var48 /* : MMethodDef */; +val* var49 /* : Location */; +val* var51 /* : Location */; val* var_mpropdef /* var mpropdef: MMethodDef */; -val* var41 /* : Array[MParameter] */; +val* var52 /* : Array[MParameter] */; val* var_mparameters /* var mparameters: Array[MParameter] */; -val* var42 /* : MSignature */; +val* var53 /* : MSignature */; val* var_msignature /* var msignature: MSignature */; -val* var47 /* : ToolContext */; -val* var49 /* : ToolContext */; -val* var51 /* : NativeArray[String] */; -static val* varonce50; -static val* varonce52; -val* var53 /* : String */; -char* var54 /* : NativeString */; -val* var55 /* : String */; -val* var56 /* : String */; -val* var57 /* : String */; -val* var58 /* : String */; -val* var59 /* : String */; +val* var57 /* : ToolContext */; +val* var59 /* : ToolContext */; +val* var61 /* : NativeArray[String] */; +static val* varonce60; +static val* varonce62; +val* var63 /* : String */; +char* var64 /* : CString */; +val* var65 /* : String */; +val* var66 /* : nullable Int */; +val* var67 /* : nullable Int */; +val* var68 /* : nullable Bool */; +val* var69 /* : nullable Bool */; +val* var70 /* : String */; +val* var71 /* : String */; +val* var72 /* : String */; +val* var73 /* : String */; val* var_defined_init /* var defined_init: nullable MMethodDef */; -val* var61 /* : Array[MPropDef] */; -val* var63 /* : Array[MPropDef] */; -val* var_64 /* var : Array[MPropDef] */; -val* var65 /* : IndexedIterator[nullable Object] */; -val* var_66 /* var : IndexedIterator[MPropDef] */; -short int var67 /* : Bool */; -val* var68 /* : nullable Object */; -val* var_mpropdef69 /* var mpropdef: MPropDef */; -short int var70 /* : Bool */; +val* var75 /* : Array[MPropDef] */; +val* var77 /* : Array[MPropDef] */; +val* var_78 /* var : Array[MPropDef] */; +val* var79 /* : IndexedIterator[nullable Object] */; +val* var_80 /* var : IndexedIterator[MPropDef] */; +short int var81 /* : Bool */; +val* var82 /* : nullable Object */; +val* var_mpropdef83 /* var mpropdef: MPropDef */; +short int var84 /* : Bool */; int cltype; int idtype; -short int var71 /* : Bool */; -val* var73 /* : MProperty */; -val* var75 /* : MProperty */; -short int var76 /* : Bool */; -short int var78 /* : Bool */; -short int var79 /* : Bool */; -val* var80 /* : MProperty */; -val* var82 /* : MProperty */; -short int var83 /* : Bool */; short int var85 /* : Bool */; -short int var86 /* : Bool */; -short int var87 /* : Bool */; -short int var89 /* : Bool */; -short int var91 /* : Bool */; -val* var92 /* : MProperty */; +val* var87 /* : MProperty */; +val* var89 /* : MProperty */; +short int var90 /* : Bool */; +short int var92 /* : Bool */; +short int var93 /* : Bool */; val* var94 /* : MProperty */; -val* var95 /* : String */; -val* var97 /* : String */; -static val* varonce98; -val* var99 /* : String */; -char* var100 /* : NativeString */; -val* var101 /* : String */; -short int var102 /* : Bool */; +val* var96 /* : MProperty */; +short int var97 /* : Bool */; +short int var99 /* : Bool */; +short int var100 /* : Bool */; +short int var101 /* : Bool */; short int var103 /* : Bool */; -int cltype104; -int idtype105; -short int var106 /* : Bool */; -val* var107 /* : Array[MParameter] */; -val* var_mparameters108 /* var mparameters: Array[MParameter] */; -val* var109 /* : Array[MProperty] */; -val* var_initializers /* var initializers: Array[MProperty] */; -val* var110 /* : ANodes[APropdef] */; -val* var112 /* : ANodes[APropdef] */; -val* var_113 /* var : ANodes[APropdef] */; -val* var114 /* : Iterator[ANode] */; -val* var_115 /* var : Iterator[APropdef] */; -short int var116 /* : Bool */; -val* var118 /* : nullable Object */; -val* var_npropdef /* var npropdef: APropdef */; -short int var119 /* : Bool */; -int cltype120; -int idtype121; -short int var122 /* : Bool */; +short int var105 /* : Bool */; +val* var106 /* : MProperty */; +val* var108 /* : MProperty */; +val* var109 /* : String */; +val* var111 /* : String */; +static val* varonce112; +val* var113 /* : String */; +char* var114 /* : CString */; +val* var115 /* : String */; +val* var116 /* : nullable Int */; +val* var117 /* : nullable Int */; +val* var118 /* : nullable Bool */; +val* var119 /* : nullable Bool */; +short int var120 /* : Bool */; +short int var121 /* : Bool */; +int cltype122; +int idtype123; short int var124 /* : Bool */; -short int var125 /* : Bool */; -val* var127 /* : nullable MPropDef */; -val* var129 /* : nullable MPropDef */; -val* var_mpropdef130 /* var mpropdef: nullable MMethodDef */; -short int var131 /* : Bool */; -short int var132 /* : Bool */; +val* var125 /* : Array[MParameter] */; +val* var_mparameters126 /* var mparameters: Array[MParameter] */; +val* var127 /* : Array[MProperty] */; +val* var_initializers /* var initializers: Array[MProperty] */; +val* var128 /* : ANodes[APropdef] */; +val* var130 /* : ANodes[APropdef] */; +val* var_131 /* var : ANodes[APropdef] */; +val* var132 /* : Iterator[ANode] */; +val* var_133 /* var : Iterator[APropdef] */; short int var134 /* : Bool */; -short int var136 /* : Bool */; -val* var137 /* : nullable MSignature */; -val* var139 /* : nullable MSignature */; -val* var_sig /* var sig: nullable MSignature */; +val* var136 /* : nullable Object */; +val* var_npropdef /* var npropdef: APropdef */; +short int var137 /* : Bool */; +int cltype138; +int idtype139; short int var140 /* : Bool */; -short int var141 /* : Bool */; +short int var142 /* : Bool */; short int var143 /* : Bool */; -short int var145 /* : Bool */; -val* var146 /* : Array[MParameter] */; -val* var148 /* : Array[MParameter] */; -val* var149 /* : MProperty */; -val* var151 /* : MProperty */; -val* var152 /* : MProperty */; -val* var154 /* : MProperty */; -short int var156 /* : Bool */; -int cltype157; -int idtype158; -val* var159 /* : nullable MMethodDef */; -val* var161 /* : nullable MMethodDef */; -val* var_mreadpropdef /* var mreadpropdef: nullable MMethodDef */; -short int var162 /* : Bool */; +val* var145 /* : nullable MPropDef */; +val* var147 /* : nullable MPropDef */; +val* var_mpropdef148 /* var mpropdef: nullable MMethodDef */; +short int var149 /* : Bool */; +short int var150 /* : Bool */; +short int var152 /* : Bool */; +short int var154 /* : Bool */; +val* var155 /* : nullable MSignature */; +val* var157 /* : nullable MSignature */; +val* var_sig /* var sig: nullable MSignature */; +short int var158 /* : Bool */; +short int var159 /* : Bool */; +short int var161 /* : Bool */; short int var163 /* : Bool */; -short int var165 /* : Bool */; -short int var167 /* : Bool */; -val* var168 /* : nullable MSignature */; -val* var170 /* : nullable MSignature */; -val* var_msignature171 /* var msignature: nullable MSignature */; -short int var172 /* : Bool */; -short int var173 /* : Bool */; -short int var175 /* : Bool */; -short int var177 /* : Bool */; -short int var178 /* : Bool */; +val* var164 /* : Array[MParameter] */; +val* var166 /* : Array[MParameter] */; +val* var167 /* : MProperty */; +val* var169 /* : MProperty */; +val* var170 /* : MProperty */; +val* var172 /* : MProperty */; +short int var174 /* : Bool */; +int cltype175; +int idtype176; +val* var177 /* : nullable MMethodDef */; +val* var179 /* : nullable MMethodDef */; +val* var_mreadpropdef /* var mreadpropdef: nullable MMethodDef */; short int var180 /* : Bool */; -static val* varonce181; -val* var182 /* : String */; -char* var183 /* : NativeString */; -val* var184 /* : String */; -val* var185 /* : nullable AAnnotation */; -val* var_atlateinit /* var atlateinit: nullable AAnnotation */; -short int var186 /* : Bool */; -short int var187 /* : Bool */; -val* var_other189 /* var other: nullable Object */; +short int var181 /* : Bool */; +short int var183 /* : Bool */; +short int var185 /* : Bool */; +val* var186 /* : nullable MSignature */; +val* var188 /* : nullable MSignature */; +val* var_msignature189 /* var msignature: nullable MSignature */; short int var190 /* : Bool */; short int var191 /* : Bool */; -val* var192 /* : MProperty */; -val* var194 /* : MProperty */; -val* var195 /* : MProperty */; -val* var197 /* : MProperty */; -short int var199 /* : Bool */; -short int var201 /* : Bool */; -val* var202 /* : MProperty */; -val* var204 /* : MProperty */; -val* var205 /* : String */; -val* var207 /* : String */; -val* var_paramname /* var paramname: String */; -val* var208 /* : nullable MType */; -val* var210 /* : nullable MType */; -val* var_ret_type /* var ret_type: nullable MType */; -short int var211 /* : Bool */; +short int var193 /* : Bool */; +short int var195 /* : Bool */; +short int var196 /* : Bool */; +short int var198 /* : Bool */; +static val* varonce199; +val* var200 /* : String */; +char* var201 /* : CString */; +val* var202 /* : String */; +val* var203 /* : nullable Int */; +val* var204 /* : nullable Int */; +val* var205 /* : nullable Bool */; +val* var206 /* : nullable Bool */; +val* var207 /* : nullable AAnnotation */; +val* var_atlateinit /* var atlateinit: nullable AAnnotation */; +short int var208 /* : Bool */; +short int var209 /* : Bool */; +val* var_other211 /* var other: nullable Object */; short int var212 /* : Bool */; -short int var214 /* : Bool */; -short int var216 /* : Bool */; -val* var217 /* : MParameter */; -val* var_mparameter /* var mparameter: MParameter */; -val* var218 /* : nullable MMethodDef */; -val* var220 /* : nullable MMethodDef */; -val* var_msetter /* var msetter: nullable MMethodDef */; +short int var213 /* : Bool */; +val* var214 /* : MProperty */; +val* var216 /* : MProperty */; +val* var217 /* : MProperty */; +val* var219 /* : MProperty */; short int var221 /* : Bool */; short int var222 /* : Bool */; short int var224 /* : Bool */; +short int var_225 /* var : Bool */; short int var226 /* : Bool */; -val* var227 /* : nullable MPropDef */; -val* var229 /* : nullable MPropDef */; -val* var230 /* : MProperty */; -val* var232 /* : MProperty */; -val* var233 /* : nullable MPropDef */; -val* var235 /* : nullable MPropDef */; -val* var236 /* : MProperty */; -val* var238 /* : MProperty */; -val* var240 /* : MProperty */; -val* var242 /* : MProperty */; -val* var243 /* : MProperty */; -val* var245 /* : MProperty */; -val* var247 /* : nullable MMethod */; -val* var249 /* : nullable MMethod */; -val* var_the_root_init_mmethod /* var the_root_init_mmethod: nullable MMethod */; -short int var250 /* : Bool */; +short int var228 /* : Bool */; +short int var229 /* : Bool */; +val* var230 /* : nullable MMethodDef */; +val* var232 /* : nullable MMethodDef */; +val* var_msetter /* var msetter: nullable MMethodDef */; +short int var233 /* : Bool */; +short int var234 /* : Bool */; +short int var236 /* : Bool */; +short int var238 /* : Bool */; +val* var239 /* : MProperty */; +val* var241 /* : MProperty */; +val* var242 /* : String */; +val* var244 /* : String */; +val* var_paramname /* var paramname: String */; +val* var245 /* : nullable MType */; +val* var247 /* : nullable MType */; +val* var_ret_type /* var ret_type: nullable MType */; +short int var248 /* : Bool */; +short int var249 /* : Bool */; short int var251 /* : Bool */; short int var253 /* : Bool */; -short int var255 /* : Bool */; -val* var256 /* : MModule */; -val* var258 /* : MModule */; -val* var259 /* : MClassType */; -val* var261 /* : MClassType */; -val* var262 /* : Array[MPropDef] */; +val* var254 /* : MParameter */; +val* var_mparameter /* var mparameter: MParameter */; +val* var255 /* : nullable MPropDef */; +val* var257 /* : nullable MPropDef */; +val* var258 /* : MProperty */; +val* var260 /* : MProperty */; +val* var261 /* : nullable MPropDef */; +val* var263 /* : nullable MPropDef */; +val* var264 /* : MProperty */; +val* var266 /* : MProperty */; +val* var268 /* : nullable MSignature */; +val* var270 /* : nullable MSignature */; +val* var271 /* : Array[MParameter] */; +val* var273 /* : Array[MParameter] */; +val* var274 /* : MProperty */; +val* var276 /* : MProperty */; +val* var277 /* : MProperty */; +val* var279 /* : MProperty */; +val* var281 /* : nullable MMethod */; +val* var283 /* : nullable MMethod */; +val* var_the_root_init_mmethod /* var the_root_init_mmethod: nullable MMethod */; +short int var284 /* : Bool */; +short int var285 /* : Bool */; +short int var287 /* : Bool */; +short int var289 /* : Bool */; +val* var290 /* : MModule */; +val* var292 /* : MModule */; +val* var293 /* : MClassType */; +val* var295 /* : MClassType */; +val* var296 /* : Array[MPropDef] */; val* var_spropdefs /* var spropdefs: Array[MMethodDef] */; -short int var263 /* : Bool */; -val* var264 /* : ToolContext */; -val* var266 /* : ToolContext */; -val* var267 /* : Location */; -val* var269 /* : Location */; -val* var271 /* : NativeArray[String] */; -static val* varonce270; -static val* varonce272; -val* var273 /* : String */; -char* var274 /* : NativeString */; -val* var275 /* : String */; -static val* varonce276; -val* var277 /* : String */; -char* var278 /* : NativeString */; -val* var279 /* : String */; -static val* varonce280; -val* var281 /* : String */; -char* var282 /* : NativeString */; -val* var283 /* : String */; -val* var284 /* : String */; -val* var285 /* : MClassDef */; -val* var287 /* : MClassDef */; -val* var288 /* : String */; -val* var289 /* : String */; -val* var290 /* : Message */; -static val* varonce291; -val* var292 /* : String */; -char* var293 /* : NativeString */; -val* var294 /* : String */; -val* var295 /* : nullable AAnnotation */; -val* var_autoinit /* var autoinit: nullable AAnnotation */; -static val* varonce296; -val* var297 /* : String */; -char* var298 /* : NativeString */; -val* var299 /* : String */; -val* var300 /* : nullable AAnnotation */; -val* var_noautoinit /* var noautoinit: nullable AAnnotation */; -short int var301 /* : Bool */; -short int var302 /* : Bool */; -short int var304 /* : Bool */; -short int var305 /* : Bool */; -short int var306 /* : Bool */; -short int var307 /* : Bool */; -short int var309 /* : Bool */; -short int var310 /* : Bool */; -static val* varonce311; -val* var312 /* : String */; -char* var313 /* : NativeString */; -val* var314 /* : String */; -val* var315 /* : ANodes[AExpr] */; -val* var317 /* : ANodes[AExpr] */; -short int var318 /* : Bool */; -static val* varonce319; -val* var320 /* : String */; -char* var321 /* : NativeString */; -val* var322 /* : String */; -val* var323 /* : ANodes[AExpr] */; -val* var325 /* : ANodes[AExpr] */; -val* var_326 /* var : ANodes[AExpr] */; -val* var327 /* : Iterator[ANode] */; -val* var_328 /* var : Iterator[AExpr] */; -short int var329 /* : Bool */; -val* var331 /* : nullable Object */; -val* var_narg /* var narg: AExpr */; -val* var332 /* : nullable String */; -val* var_id /* var id: nullable String */; -short int var333 /* : Bool */; -short int var334 /* : Bool */; -static val* varonce335; -val* var336 /* : String */; -char* var337 /* : NativeString */; +short int var297 /* : Bool */; +val* var298 /* : ToolContext */; +val* var300 /* : ToolContext */; +val* var301 /* : Location */; +val* var303 /* : Location */; +val* var305 /* : NativeArray[String] */; +static val* varonce304; +static val* varonce306; +val* var307 /* : String */; +char* var308 /* : CString */; +val* var309 /* : String */; +val* var310 /* : nullable Int */; +val* var311 /* : nullable Int */; +val* var312 /* : nullable Bool */; +val* var313 /* : nullable Bool */; +static val* varonce314; +val* var315 /* : String */; +char* var316 /* : CString */; +val* var317 /* : String */; +val* var318 /* : nullable Int */; +val* var319 /* : nullable Int */; +val* var320 /* : nullable Bool */; +val* var321 /* : nullable Bool */; +static val* varonce322; +val* var323 /* : String */; +char* var324 /* : CString */; +val* var325 /* : String */; +val* var326 /* : nullable Int */; +val* var327 /* : nullable Int */; +val* var328 /* : nullable Bool */; +val* var329 /* : nullable Bool */; +val* var330 /* : String */; +val* var331 /* : MClassDef */; +val* var333 /* : MClassDef */; +val* var334 /* : String */; +val* var335 /* : String */; +val* var336 /* : Message */; +static val* varonce337; val* var338 /* : String */; -static val* varonce339; +char* var339 /* : CString */; val* var340 /* : String */; -char* var341 /* : NativeString */; -val* var342 /* : String */; -val* var343 /* : String */; -val* var344 /* : nullable MProperty */; -val* var_p /* var p: nullable MProperty */; -short int var345 /* : Bool */; -short int var346 /* : Bool */; -short int var348 /* : Bool */; -short int var350 /* : Bool */; -val* var351 /* : nullable MProperty */; -short int var352 /* : Bool */; -short int var353 /* : Bool */; +val* var341 /* : nullable Int */; +val* var342 /* : nullable Int */; +val* var343 /* : nullable Bool */; +val* var344 /* : nullable Bool */; +val* var345 /* : nullable AAnnotation */; +val* var_autoinit /* var autoinit: nullable AAnnotation */; +static val* varonce346; +val* var347 /* : String */; +char* var348 /* : CString */; +val* var349 /* : String */; +val* var350 /* : nullable Int */; +val* var351 /* : nullable Int */; +val* var352 /* : nullable Bool */; +val* var353 /* : nullable Bool */; +val* var354 /* : nullable AAnnotation */; +val* var_noautoinit /* var noautoinit: nullable AAnnotation */; short int var355 /* : Bool */; -short int var357 /* : Bool */; -val* var359 /* : NativeArray[String] */; -static val* varonce358; -static val* varonce360; -val* var361 /* : String */; -char* var362 /* : NativeString */; -val* var363 /* : String */; -static val* varonce364; -val* var365 /* : String */; -char* var366 /* : NativeString */; -val* var367 /* : String */; +short int var356 /* : Bool */; +short int var358 /* : Bool */; +short int var359 /* : Bool */; +short int var360 /* : Bool */; +short int var361 /* : Bool */; +short int var363 /* : Bool */; +short int var364 /* : Bool */; +static val* varonce365; +val* var366 /* : String */; +char* var367 /* : CString */; val* var368 /* : String */; -short int var369 /* : Bool */; -short int var371 /* : Bool */; -short int var372 /* : Bool */; -val* var374 /* : NativeArray[String] */; -static val* varonce373; -static val* varonce375; -val* var376 /* : String */; -char* var377 /* : NativeString */; +val* var369 /* : nullable Int */; +val* var370 /* : nullable Int */; +val* var371 /* : nullable Bool */; +val* var372 /* : nullable Bool */; +val* var373 /* : ANodes[AExpr] */; +val* var375 /* : ANodes[AExpr] */; +short int var376 /* : Bool */; +static val* varonce377; val* var378 /* : String */; -static val* varonce379; +char* var379 /* : CString */; val* var380 /* : String */; -char* var381 /* : NativeString */; -val* var382 /* : String */; -val* var383 /* : String */; -val* var384 /* : String */; -val* var385 /* : MPropDef */; -val* var387 /* : MPropDef */; -val* var_pd /* var pd: MPropDef */; -short int var388 /* : Bool */; -int cltype389; -int idtype390; -val* var391 /* : nullable MSignature */; -val* var393 /* : nullable MSignature */; -val* var394 /* : MClass */; -val* var396 /* : MClass */; -val* var397 /* : MClassType */; -val* var399 /* : MClassType */; -val* var400 /* : MClassType */; -val* var402 /* : MClassType */; -val* var403 /* : MModule */; -val* var405 /* : MModule */; -val* var406 /* : MSignature */; -val* var_sig407 /* var sig: MSignature */; -val* var408 /* : Array[MParameter] */; -val* var410 /* : Array[MParameter] */; -val* var411 /* : nullable Object */; -val* var_longest /* var longest: MMethodDef */; -long var412 /* : Int */; -long var414 /* : Int */; +val* var381 /* : nullable Int */; +val* var382 /* : nullable Int */; +val* var383 /* : nullable Bool */; +val* var384 /* : nullable Bool */; +val* var385 /* : ANodes[AExpr] */; +val* var387 /* : ANodes[AExpr] */; +val* var_388 /* var : ANodes[AExpr] */; +val* var389 /* : Iterator[ANode] */; +val* var_390 /* var : Iterator[AExpr] */; +short int var391 /* : Bool */; +val* var393 /* : nullable Object */; +val* var_narg /* var narg: AExpr */; +val* var394 /* : nullable String */; +val* var_id /* var id: nullable String */; +short int var395 /* : Bool */; +short int var396 /* : Bool */; +static val* varonce397; +val* var398 /* : String */; +char* var399 /* : CString */; +val* var400 /* : String */; +val* var401 /* : nullable Int */; +val* var402 /* : nullable Int */; +val* var403 /* : nullable Bool */; +val* var404 /* : nullable Bool */; +static val* varonce405; +val* var406 /* : String */; +char* var407 /* : CString */; +val* var408 /* : String */; +val* var409 /* : nullable Int */; +val* var410 /* : nullable Int */; +val* var411 /* : nullable Bool */; +val* var412 /* : nullable Bool */; +val* var413 /* : Text */; +val* var414 /* : nullable MProperty */; +val* var_p /* var p: nullable MProperty */; short int var415 /* : Bool */; -short int var417 /* : Bool */; -int cltype418; -int idtype419; -const char* var_class_name; +short int var416 /* : Bool */; +short int var418 /* : Bool */; short int var420 /* : Bool */; -val* var_421 /* var : Array[MMethodDef] */; -val* var422 /* : IndexedIterator[nullable Object] */; -val* var_423 /* var : IndexedIterator[MMethodDef] */; -short int var424 /* : Bool */; -val* var426 /* : nullable Object */; -val* var_spd /* var spd: MMethodDef */; -val* var427 /* : Array[MProperty] */; -val* var429 /* : Array[MProperty] */; -long var430 /* : Int */; -long var432 /* : Int */; -val* var433 /* : Array[MProperty] */; -val* var435 /* : Array[MProperty] */; -long var436 /* : Int */; -long var438 /* : Int */; -short int var439 /* : Bool */; -short int var441 /* : Bool */; -int cltype442; -int idtype443; -const char* var_class_name444; -short int var445 /* : Bool */; -short int var446 /* : Bool */; +val* var421 /* : nullable MProperty */; +short int var422 /* : Bool */; +short int var423 /* : Bool */; +short int var425 /* : Bool */; +short int var427 /* : Bool */; +val* var429 /* : NativeArray[String] */; +static val* varonce428; +static val* varonce430; +val* var431 /* : String */; +char* var432 /* : CString */; +val* var433 /* : String */; +val* var434 /* : nullable Int */; +val* var435 /* : nullable Int */; +val* var436 /* : nullable Bool */; +val* var437 /* : nullable Bool */; +static val* varonce438; +val* var439 /* : String */; +char* var440 /* : CString */; +val* var441 /* : String */; +val* var442 /* : nullable Int */; +val* var443 /* : nullable Int */; +val* var444 /* : nullable Bool */; +val* var445 /* : nullable Bool */; +val* var446 /* : String */; short int var447 /* : Bool */; short int var449 /* : Bool */; -short int var451 /* : Bool */; -val* var_452 /* var : Array[MMethodDef] */; -val* var453 /* : IndexedIterator[nullable Object] */; -val* var_454 /* var : IndexedIterator[MMethodDef] */; -short int var455 /* : Bool */; -val* var457 /* : nullable Object */; -val* var_spd458 /* var spd: MMethodDef */; +short int var450 /* : Bool */; +val* var452 /* : NativeArray[String] */; +static val* varonce451; +static val* varonce453; +val* var454 /* : String */; +char* var455 /* : CString */; +val* var456 /* : String */; +val* var457 /* : nullable Int */; +val* var458 /* : nullable Int */; +val* var459 /* : nullable Bool */; +val* var460 /* : nullable Bool */; +static val* varonce461; +val* var462 /* : String */; +char* var463 /* : CString */; +val* var464 /* : String */; +val* var465 /* : nullable Int */; +val* var466 /* : nullable Int */; +val* var467 /* : nullable Bool */; +val* var468 /* : nullable Bool */; +val* var469 /* : String */; +val* var470 /* : String */; +val* var471 /* : MPropDef */; +val* var473 /* : MPropDef */; +val* var_pd /* var pd: MPropDef */; +short int var474 /* : Bool */; +int cltype475; +int idtype476; +val* var477 /* : nullable MSignature */; +val* var479 /* : nullable MSignature */; +val* var480 /* : MClass */; +val* var482 /* : MClass */; +val* var483 /* : MClassType */; +val* var485 /* : MClassType */; +val* var486 /* : MClassType */; +val* var488 /* : MClassType */; +val* var489 /* : MModule */; +val* var491 /* : MModule */; +val* var492 /* : MSignature */; +val* var_sig493 /* var sig: MSignature */; +val* var494 /* : Array[MParameter] */; +val* var496 /* : Array[MParameter] */; +val* var497 /* : nullable Object */; +val* var_longest /* var longest: MMethodDef */; +long var498 /* : Int */; +long var500 /* : Int */; +short int var501 /* : Bool */; +short int var503 /* : Bool */; +int cltype504; +int idtype505; +const char* var_class_name; +short int var506 /* : Bool */; +val* var_507 /* var : Array[MMethodDef] */; +val* var508 /* : IndexedIterator[nullable Object] */; +val* var_509 /* var : IndexedIterator[MMethodDef] */; +short int var510 /* : Bool */; +val* var512 /* : nullable Object */; +val* var_spd /* var spd: MMethodDef */; +val* var513 /* : Array[MProperty] */; +val* var515 /* : Array[MProperty] */; +long var516 /* : Int */; +long var518 /* : Int */; +val* var519 /* : Array[MProperty] */; +val* var521 /* : Array[MProperty] */; +long var522 /* : Int */; +long var524 /* : Int */; +short int var525 /* : Bool */; +short int var527 /* : Bool */; +int cltype528; +int idtype529; +const char* var_class_name530; +short int var531 /* : Bool */; +short int var532 /* : Bool */; +short int var533 /* : Bool */; +short int var535 /* : Bool */; +short int var537 /* : Bool */; +val* var_538 /* var : Array[MMethodDef] */; +val* var539 /* : IndexedIterator[nullable Object] */; +val* var_540 /* var : IndexedIterator[MMethodDef] */; +short int var541 /* : Bool */; +val* var543 /* : nullable Object */; +val* var_spd544 /* var spd: MMethodDef */; long var_i /* var i: Int */; -val* var459 /* : Array[MProperty] */; -val* var461 /* : Array[MProperty] */; -val* var_462 /* var : Array[MProperty] */; -val* var463 /* : IndexedIterator[nullable Object] */; -val* var_464 /* var : IndexedIterator[MProperty] */; -short int var465 /* : Bool */; -val* var467 /* : nullable Object */; -val* var_p468 /* var p: MProperty */; -val* var469 /* : Array[MProperty] */; -val* var471 /* : Array[MProperty] */; -val* var472 /* : nullable Object */; -short int var473 /* : Bool */; -short int var475 /* : Bool */; -short int var476 /* : Bool */; -val* var477 /* : ArraySet[MProperty] */; +val* var545 /* : Array[MProperty] */; +val* var547 /* : Array[MProperty] */; +val* var_548 /* var : Array[MProperty] */; +val* var549 /* : IndexedIterator[nullable Object] */; +val* var_550 /* var : IndexedIterator[MProperty] */; +short int var551 /* : Bool */; +val* var553 /* : nullable Object */; +val* var_p554 /* var p: MProperty */; +val* var555 /* : Array[MProperty] */; +val* var557 /* : Array[MProperty] */; +val* var558 /* : nullable Object */; +short int var559 /* : Bool */; +short int var561 /* : Bool */; +short int var562 /* : Bool */; +val* var563 /* : ArraySet[MProperty] */; val* var_proposal /* var proposal: ArraySet[MProperty] */; -val* var_478 /* var : Array[MMethodDef] */; -val* var479 /* : IndexedIterator[nullable Object] */; -val* var_480 /* var : IndexedIterator[MMethodDef] */; -short int var481 /* : Bool */; -val* var483 /* : nullable Object */; +val* var_564 /* var : Array[MMethodDef] */; +val* var565 /* : IndexedIterator[nullable Object] */; +val* var_566 /* var : IndexedIterator[MMethodDef] */; +short int var567 /* : Bool */; +val* var569 /* : nullable Object */; val* var_spd2 /* var spd2: MMethodDef */; -val* var484 /* : Array[MProperty] */; -val* var486 /* : Array[MProperty] */; -val* var488 /* : NativeArray[String] */; -static val* varonce487; -static val* varonce489; -val* var490 /* : String */; -char* var491 /* : NativeString */; -val* var492 /* : String */; -static val* varonce493; -val* var494 /* : String */; -char* var495 /* : NativeString */; -val* var496 /* : String */; -static val* varonce497; -val* var498 /* : String */; -char* var499 /* : NativeString */; -val* var500 /* : String */; -static val* varonce501; -val* var502 /* : String */; -char* var503 /* : NativeString */; -val* var504 /* : String */; -static val* varonce505; -val* var506 /* : String */; -char* var507 /* : NativeString */; -val* var508 /* : String */; -static val* varonce509; -val* var510 /* : String */; -char* var511 /* : NativeString */; -val* var512 /* : String */; -static val* varonce513; -val* var514 /* : String */; -char* var515 /* : NativeString */; -val* var516 /* : String */; -val* var517 /* : MClass */; -val* var519 /* : MClass */; -val* var520 /* : String */; -val* var521 /* : String */; -val* var522 /* : Array[MProperty] */; -val* var524 /* : Array[MProperty] */; -static val* varonce525; -val* var526 /* : String */; -char* var527 /* : NativeString */; -val* var528 /* : String */; -val* var529 /* : String */; -val* var530 /* : String */; -val* var531 /* : Array[MProperty] */; -val* var533 /* : Array[MProperty] */; -static val* varonce534; -val* var535 /* : String */; -char* var536 /* : NativeString */; -val* var537 /* : String */; -val* var538 /* : String */; -static val* varonce539; -val* var540 /* : String */; -char* var541 /* : NativeString */; -val* var542 /* : String */; -val* var543 /* : String */; -val* var544 /* : String */; -long var545 /* : Int */; -short int var547 /* : Bool */; -int cltype548; -int idtype549; -const char* var_class_name550; -long var551 /* : Int */; -short int var552 /* : Bool */; -short int var553 /* : Bool */; -short int var555 /* : Bool */; -short int var556 /* : Bool */; -short int var557 /* : Bool */; -short int var558 /* : Bool */; -short int var_559 /* var : Bool */; -val* var560 /* : Array[MProperty] */; -val* var562 /* : Array[MProperty] */; -short int var563 /* : Bool */; -static val* varonce564; -val* var565 /* : String */; -char* var566 /* : NativeString */; -val* var567 /* : String */; -static val* varonce568; -val* var569 /* : String */; -char* var570 /* : NativeString */; -val* var571 /* : String */; -short int var572 /* : Bool */; -short int var573 /* : Bool */; -long var574 /* : Int */; -long var576 /* : Int */; -short int var577 /* : Bool */; -short int var579 /* : Bool */; -short int var_580 /* var : Bool */; -short int var581 /* : Bool */; -short int var_582 /* var : Bool */; -short int var583 /* : Bool */; -short int var584 /* : Bool */; -short int var586 /* : Bool */; -short int var588 /* : Bool */; -val* var589 /* : ToolContext */; -val* var591 /* : ToolContext */; -val* var593 /* : NativeArray[String] */; -static val* varonce592; -static val* varonce594; -val* var595 /* : String */; -char* var596 /* : NativeString */; -val* var597 /* : String */; -val* var598 /* : String */; -val* var599 /* : String */; +val* var570 /* : Array[MProperty] */; +val* var572 /* : Array[MProperty] */; +val* var574 /* : NativeArray[String] */; +static val* varonce573; +static val* varonce575; +val* var576 /* : String */; +char* var577 /* : CString */; +val* var578 /* : String */; +val* var579 /* : nullable Int */; +val* var580 /* : nullable Int */; +val* var581 /* : nullable Bool */; +val* var582 /* : nullable Bool */; +static val* varonce583; +val* var584 /* : String */; +char* var585 /* : CString */; +val* var586 /* : String */; +val* var587 /* : nullable Int */; +val* var588 /* : nullable Int */; +val* var589 /* : nullable Bool */; +val* var590 /* : nullable Bool */; +static val* varonce591; +val* var592 /* : String */; +char* var593 /* : CString */; +val* var594 /* : String */; +val* var595 /* : nullable Int */; +val* var596 /* : nullable Int */; +val* var597 /* : nullable Bool */; +val* var598 /* : nullable Bool */; +static val* varonce599; val* var600 /* : String */; -val* var601 /* : MClass */; -val* var603 /* : MClass */; -val* var605 /* : Array[MProperty] */; -val* var607 /* : Array[MProperty] */; -long var608 /* : Int */; -long var610 /* : Int */; -short int var611 /* : Bool */; -short int var613 /* : Bool */; -int cltype614; -int idtype615; -const char* var_class_name616; -short int var617 /* : Bool */; -val* var618 /* : nullable MSignature */; -val* var620 /* : nullable MSignature */; -val* var621 /* : Array[MParameter] */; -val* var623 /* : Array[MParameter] */; -val* var624 /* : Array[MProperty] */; -val* var626 /* : Array[MProperty] */; -short int var627 /* : Bool */; -short int var628 /* : Bool */; -short int var630 /* : Bool */; -short int var631 /* : Bool */; -val* var632 /* : Array[MProperty] */; -val* var634 /* : Array[MProperty] */; -val* var635 /* : MSignature */; -val* var_msignature636 /* var msignature: MSignature */; -val* var638 /* : ToolContext */; -val* var640 /* : ToolContext */; -val* var642 /* : NativeArray[String] */; -static val* varonce641; -static val* varonce643; -val* var644 /* : String */; -char* var645 /* : NativeString */; -val* var646 /* : String */; +char* var601 /* : CString */; +val* var602 /* : String */; +val* var603 /* : nullable Int */; +val* var604 /* : nullable Int */; +val* var605 /* : nullable Bool */; +val* var606 /* : nullable Bool */; +static val* varonce607; +val* var608 /* : String */; +char* var609 /* : CString */; +val* var610 /* : String */; +val* var611 /* : nullable Int */; +val* var612 /* : nullable Int */; +val* var613 /* : nullable Bool */; +val* var614 /* : nullable Bool */; +static val* varonce615; +val* var616 /* : String */; +char* var617 /* : CString */; +val* var618 /* : String */; +val* var619 /* : nullable Int */; +val* var620 /* : nullable Int */; +val* var621 /* : nullable Bool */; +val* var622 /* : nullable Bool */; +static val* varonce623; +val* var624 /* : String */; +char* var625 /* : CString */; +val* var626 /* : String */; +val* var627 /* : nullable Int */; +val* var628 /* : nullable Int */; +val* var629 /* : nullable Bool */; +val* var630 /* : nullable Bool */; +val* var631 /* : MClass */; +val* var633 /* : MClass */; +val* var634 /* : String */; +val* var635 /* : String */; +val* var636 /* : Array[MProperty] */; +val* var638 /* : Array[MProperty] */; +static val* varonce639; +val* var640 /* : String */; +char* var641 /* : CString */; +val* var642 /* : String */; +val* var643 /* : nullable Int */; +val* var644 /* : nullable Int */; +val* var645 /* : nullable Bool */; +val* var646 /* : nullable Bool */; val* var647 /* : String */; val* var648 /* : String */; -val* var649 /* : String */; -val* var650 /* : String */; -val* var651 /* : MClass */; -val* var653 /* : MClass */; -val* var_mprop655 /* var mprop: MMethod */; -val* var656 /* : MMethodDef */; -val* var657 /* : Location */; -val* var659 /* : Location */; -val* var_mpropdef660 /* var mpropdef: MMethodDef */; -val* var662 /* : Array[MProperty] */; -val* var664 /* : Array[MProperty] */; -val* var665 /* : MSignature */; -val* var_msignature666 /* var msignature: MSignature */; -val* var668 /* : MSignature */; -val* var669 /* : Array[MParameter] */; -val* var672 /* : ToolContext */; -val* var674 /* : ToolContext */; -val* var676 /* : NativeArray[String] */; -static val* varonce675; -static val* varonce677; -val* var678 /* : String */; -char* var679 /* : NativeString */; -val* var680 /* : String */; -val* var681 /* : String */; -val* var682 /* : String */; -val* var683 /* : String */; -val* var684 /* : String */; -val* var685 /* : MClass */; -val* var687 /* : MClass */; +val* var649 /* : Array[MProperty] */; +val* var651 /* : Array[MProperty] */; +static val* varonce652; +val* var653 /* : String */; +char* var654 /* : CString */; +val* var655 /* : String */; +val* var656 /* : nullable Int */; +val* var657 /* : nullable Int */; +val* var658 /* : nullable Bool */; +val* var659 /* : nullable Bool */; +val* var660 /* : String */; +static val* varonce661; +val* var662 /* : String */; +char* var663 /* : CString */; +val* var664 /* : String */; +val* var665 /* : nullable Int */; +val* var666 /* : nullable Int */; +val* var667 /* : nullable Bool */; +val* var668 /* : nullable Bool */; +val* var669 /* : String */; +val* var670 /* : String */; +long var671 /* : Int */; +short int var673 /* : Bool */; +int cltype674; +int idtype675; +const char* var_class_name676; +long var677 /* : Int */; +short int var678 /* : Bool */; +short int var679 /* : Bool */; +short int var681 /* : Bool */; +short int var682 /* : Bool */; +short int var683 /* : Bool */; +short int var684 /* : Bool */; +short int var_685 /* var : Bool */; +val* var686 /* : Array[MProperty] */; +val* var688 /* : Array[MProperty] */; +short int var689 /* : Bool */; +static val* varonce690; +val* var691 /* : String */; +char* var692 /* : CString */; +val* var693 /* : String */; +val* var694 /* : nullable Int */; +val* var695 /* : nullable Int */; +val* var696 /* : nullable Bool */; +val* var697 /* : nullable Bool */; +static val* varonce698; +val* var699 /* : String */; +char* var700 /* : CString */; +val* var701 /* : String */; +val* var702 /* : nullable Int */; +val* var703 /* : nullable Int */; +val* var704 /* : nullable Bool */; +val* var705 /* : nullable Bool */; +short int var706 /* : Bool */; +short int var707 /* : Bool */; +long var708 /* : Int */; +long var710 /* : Int */; +short int var711 /* : Bool */; +short int var713 /* : Bool */; +short int var_714 /* var : Bool */; +short int var715 /* : Bool */; +short int var_716 /* var : Bool */; +short int var717 /* : Bool */; +short int var718 /* : Bool */; +short int var720 /* : Bool */; +short int var722 /* : Bool */; +val* var723 /* : ToolContext */; +val* var725 /* : ToolContext */; +val* var727 /* : NativeArray[String] */; +static val* varonce726; +static val* varonce728; +val* var729 /* : String */; +char* var730 /* : CString */; +val* var731 /* : String */; +val* var732 /* : nullable Int */; +val* var733 /* : nullable Int */; +val* var734 /* : nullable Bool */; +val* var735 /* : nullable Bool */; +val* var736 /* : String */; +val* var737 /* : String */; +val* var738 /* : String */; +val* var739 /* : MClass */; +val* var741 /* : MClass */; +val* var743 /* : Array[MProperty] */; +val* var745 /* : Array[MProperty] */; +long var746 /* : Int */; +long var748 /* : Int */; +short int var749 /* : Bool */; +short int var751 /* : Bool */; +int cltype752; +int idtype753; +const char* var_class_name754; +short int var755 /* : Bool */; +val* var756 /* : nullable MSignature */; +val* var758 /* : nullable MSignature */; +val* var759 /* : Array[MParameter] */; +val* var761 /* : Array[MParameter] */; +val* var762 /* : Array[MProperty] */; +val* var764 /* : Array[MProperty] */; +short int var765 /* : Bool */; +short int var766 /* : Bool */; +short int var768 /* : Bool */; +short int var769 /* : Bool */; +val* var770 /* : Array[MProperty] */; +val* var772 /* : Array[MProperty] */; +val* var773 /* : MSignature */; +val* var_msignature774 /* var msignature: MSignature */; +val* var776 /* : ToolContext */; +val* var778 /* : ToolContext */; +val* var780 /* : NativeArray[String] */; +static val* varonce779; +static val* varonce781; +val* var782 /* : String */; +char* var783 /* : CString */; +val* var784 /* : String */; +val* var785 /* : nullable Int */; +val* var786 /* : nullable Int */; +val* var787 /* : nullable Bool */; +val* var788 /* : nullable Bool */; +val* var789 /* : String */; +val* var790 /* : String */; +val* var791 /* : String */; +val* var792 /* : String */; +val* var793 /* : MClass */; +val* var795 /* : MClass */; +val* var_mprop797 /* var mprop: MMethod */; +val* var798 /* : MMethodDef */; +val* var799 /* : Location */; +val* var801 /* : Location */; +val* var_mpropdef802 /* var mpropdef: MMethodDef */; +val* var804 /* : Array[MProperty] */; +val* var806 /* : Array[MProperty] */; +val* var807 /* : MSignature */; +val* var_msignature808 /* var msignature: MSignature */; +val* var810 /* : MSignature */; +val* var811 /* : Array[MParameter] */; +val* var813 /* : ToolContext */; +val* var815 /* : ToolContext */; +val* var817 /* : NativeArray[String] */; +static val* varonce816; +static val* varonce818; +val* var819 /* : String */; +char* var820 /* : CString */; +val* var821 /* : String */; +val* var822 /* : nullable Int */; +val* var823 /* : nullable Int */; +val* var824 /* : nullable Bool */; +val* var825 /* : nullable Bool */; +val* var826 /* : String */; +val* var827 /* : String */; +val* var828 /* : String */; +val* var829 /* : String */; +val* var830 /* : MClass */; +val* var832 /* : MClass */; var_nclassdef = p0; { -{ /* Inline modelize_class#AClassdef#mclassdef (var_nclassdef) on */ +{ /* Inline modelize_class$AClassdef$mclassdef (var_nclassdef) on */ var2 = var_nclassdef->attrs[COLOR_nitc__modelize_class__AClassdef___mclassdef].val; /* _mclassdef on */ var = var2; RET_LABEL1:(void)0; } } if (unlikely(var == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Cast failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property, 140); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property, 139); fatal_exit(1); } var_mclassdef = var; @@ -1789,11 +2013,14 @@ goto RET_LABEL; } else { } { -{ /* Inline model#MClassDef#mclass (var_mclassdef) on */ +{ /* Inline model$MClassDef$mclass (var_mclassdef) on */ var8 = var_mclassdef->attrs[COLOR_nitc__model__MClassDef___mclass].val; /* _mclass on */ if (unlikely(var8 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclass"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 576); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 591); fatal_exit(1); } var6 = var8; @@ -1801,11 +2028,14 @@ RET_LABEL7:(void)0; } } { -{ /* Inline model#MClass#name (var6) on */ +{ /* Inline model$MClass$name (var6) on */ var11 = var6->attrs[COLOR_nitc__model__MClass___name].val; /* _name on */ if (unlikely(var11 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _name"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 385); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 396); fatal_exit(1); } var9 = var11; @@ -1816,217 +2046,253 @@ if (likely(varonce!=NULL)) { var12 = varonce; } else { var13 = "Object"; -var14 = core__flat___NativeString___to_s_full(var13, 6l, 6l); +var15 = (val*)(6l<<2|1); +var16 = (val*)(6l<<2|1); +var17 = (val*)((long)(0)<<2|3); +var18 = (val*)((long)(0)<<2|3); +var14 = core__flat___CString___to_s_unsafe(var13, var15, var16, var17, var18); var12 = var14; varonce = var12; } { -var15 = ((short int(*)(val* self, val* p0))(var9->class->vft[COLOR_core__kernel__Object___61d_61d]))(var9, var12); /* == on */ +var19 = ((short int(*)(val* self, val* p0))(var9->class->vft[COLOR_core__kernel__Object___61d_61d]))(var9, var12); /* == on */ } -var_ = var15; -if (var15){ +var_ = var19; +if (var19){ { -{ /* Inline modelize_property#ModelBuilder#the_root_init_mmethod (self) on */ -var18 = self->attrs[COLOR_nitc__modelize_property__ModelBuilder___the_root_init_mmethod].val; /* _the_root_init_mmethod on */ -var16 = var18; -RET_LABEL17:(void)0; +{ /* Inline modelize_property$ModelBuilder$the_root_init_mmethod (self) on */ +var22 = self->attrs[COLOR_nitc__modelize_property__ModelBuilder___the_root_init_mmethod].val; /* _the_root_init_mmethod on */ +var20 = var22; +RET_LABEL21:(void)0; } } -if (var16 == NULL) { -var19 = 1; /* is null */ +if (var20 == NULL) { +var23 = 1; /* is null */ } else { -var19 = 0; /* arg is null but recv is not */ +var23 = 0; /* arg is null but recv is not */ } if (0) { -{ /* Inline kernel#Object#== (var16,((val*)NULL)) on */ +{ /* Inline kernel$Object$== (var20,((val*)NULL)) on */ var_other = ((val*)NULL); { -{ /* Inline kernel#Object#is_same_instance (var16,var_other) on */ -var24 = var16 == var_other; -var22 = var24; -goto RET_LABEL23; -RET_LABEL23:(void)0; +{ /* Inline kernel$Object$is_same_instance (var20,var_other) on */ +var28 = var20 == var_other; +var26 = var28; +goto RET_LABEL27; +RET_LABEL27:(void)0; } } -var20 = var22; -goto RET_LABEL21; -RET_LABEL21:(void)0; +var24 = var26; +goto RET_LABEL25; +RET_LABEL25:(void)0; } -var19 = var20; +var23 = var24; } -var5 = var19; +var5 = var23; } else { var5 = var_; } if (var5){ -var25 = NEW_nitc__MMethod(&type_nitc__MMethod); -if (likely(varonce26!=NULL)) { -var27 = varonce26; -} else { -var28 = "init"; -var29 = core__flat___NativeString___to_s_full(var28, 4l, 4l); -var27 = var29; -varonce26 = var27; +var29 = NEW_nitc__MMethod(&type_nitc__MMethod); +if (likely(varonce30!=NULL)) { +var31 = varonce30; +} else { +var32 = "init"; +var34 = (val*)(4l<<2|1); +var35 = (val*)(4l<<2|1); +var36 = (val*)((long)(0)<<2|3); +var37 = (val*)((long)(0)<<2|3); +var33 = core__flat___CString___to_s_unsafe(var32, var34, var35, var36, var37); +var31 = var33; +varonce30 = var31; } { -{ /* Inline model#MClassDef#mclass (var_mclassdef) on */ -var32 = var_mclassdef->attrs[COLOR_nitc__model__MClassDef___mclass].val; /* _mclass on */ -if (unlikely(var32 == NULL)) { +{ /* Inline parser_nodes$ANode$location (var_nclassdef) on */ +var40 = var_nclassdef->attrs[COLOR_nitc__parser_nodes__ANode___location].val; /* _location on */ +if (unlikely(var40 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _location"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 25); +fatal_exit(1); +} +var38 = var40; +RET_LABEL39:(void)0; +} +} +{ +{ /* Inline model$MClassDef$mclass (var_mclassdef) on */ +var43 = var_mclassdef->attrs[COLOR_nitc__model__MClassDef___mclass].val; /* _mclass on */ +if (unlikely(var43 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclass"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 576); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 591); fatal_exit(1); } -var30 = var32; -RET_LABEL31:(void)0; +var41 = var43; +RET_LABEL42:(void)0; } } { -{ /* Inline model#MClass#visibility (var30) on */ -var35 = var30->attrs[COLOR_nitc__model__MClass___visibility].val; /* _visibility on */ -if (unlikely(var35 == NULL)) { +{ /* Inline model$MClass$visibility (var41) on */ +var46 = var41->attrs[COLOR_nitc__model__MClass___visibility].val; /* _visibility on */ +if (unlikely(var46 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _visibility"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 463); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 476); fatal_exit(1); } -var33 = var35; -RET_LABEL34:(void)0; +var44 = var46; +RET_LABEL45:(void)0; +} } +{ +((void(*)(val* self, val* p0))(var29->class->vft[COLOR_nitc__model__MProperty__intro_mclassdef_61d]))(var29, var_mclassdef); /* intro_mclassdef= on */ } { -((void(*)(val* self, val* p0))(var25->class->vft[COLOR_nitc__model__MProperty__intro_mclassdef_61d]))(var25, var_mclassdef); /* intro_mclassdef= on */ +((void(*)(val* self, val* p0))(var29->class->vft[COLOR_nitc__model__MProperty__name_61d]))(var29, var31); /* name= on */ } { -((void(*)(val* self, val* p0))(var25->class->vft[COLOR_nitc__model__MProperty__name_61d]))(var25, var27); /* name= on */ +((void(*)(val* self, val* p0))(var29->class->vft[COLOR_nitc__model__MProperty__location_61d]))(var29, var38); /* location= on */ } { -((void(*)(val* self, val* p0))(var25->class->vft[COLOR_nitc__model__MProperty__visibility_61d]))(var25, var33); /* visibility= on */ +((void(*)(val* self, val* p0))(var29->class->vft[COLOR_nitc__model__MProperty__visibility_61d]))(var29, var44); /* visibility= on */ } { -((void(*)(val* self))(var25->class->vft[COLOR_core__kernel__Object__init]))(var25); /* init on */ +((void(*)(val* self))(var29->class->vft[COLOR_core__kernel__Object__init]))(var29); /* init on */ } -var_mprop = var25; +var_mprop = var29; { -{ /* Inline model#MMethod#is_root_init= (var_mprop,1) on */ +{ /* Inline model$MMethod$is_root_init= (var_mprop,1) on */ var_mprop->attrs[COLOR_nitc__model__MMethod___is_root_init].s = 1; /* _is_root_init on */ -RET_LABEL36:(void)0; +RET_LABEL47:(void)0; } } -var37 = NEW_nitc__MMethodDef(&type_nitc__MMethodDef); +var48 = NEW_nitc__MMethodDef(&type_nitc__MMethodDef); { -{ /* Inline parser_nodes#ANode#location (var_nclassdef) on */ -var40 = var_nclassdef->attrs[COLOR_nitc__parser_nodes__ANode___location].val; /* _location on */ -if (unlikely(var40 == NULL)) { +{ /* Inline parser_nodes$ANode$location (var_nclassdef) on */ +var51 = var_nclassdef->attrs[COLOR_nitc__parser_nodes__ANode___location].val; /* _location on */ +if (unlikely(var51 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _location"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 24); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 25); fatal_exit(1); } -var38 = var40; -RET_LABEL39:(void)0; +var49 = var51; +RET_LABEL50:(void)0; } } { -((void(*)(val* self, val* p0))(var37->class->vft[COLOR_nitc__model__MPropDef__mclassdef_61d]))(var37, var_mclassdef); /* mclassdef= on */ +((void(*)(val* self, val* p0))(var48->class->vft[COLOR_nitc__model__MPropDef__mclassdef_61d]))(var48, var_mclassdef); /* mclassdef= on */ } { -((void(*)(val* self, val* p0))(var37->class->vft[COLOR_nitc__model__MPropDef__mproperty_61d]))(var37, var_mprop); /* mproperty= on */ +((void(*)(val* self, val* p0))(var48->class->vft[COLOR_nitc__model__MPropDef__mproperty_61d]))(var48, var_mprop); /* mproperty= on */ } { -((void(*)(val* self, val* p0))(var37->class->vft[COLOR_nitc__model__MPropDef__location_61d]))(var37, var38); /* location= on */ +((void(*)(val* self, val* p0))(var48->class->vft[COLOR_nitc__model__MPropDef__location_61d]))(var48, var49); /* location= on */ } { -((void(*)(val* self))(var37->class->vft[COLOR_core__kernel__Object__init]))(var37); /* init on */ +((void(*)(val* self))(var48->class->vft[COLOR_core__kernel__Object__init]))(var48); /* init on */ } -var_mpropdef = var37; -var41 = NEW_core__Array(&type_core__Array__nitc__MParameter); +var_mpropdef = var48; +var52 = NEW_core__Array(&type_core__Array__nitc__MParameter); { -core___core__Array___core__kernel__Object__init(var41); /* Direct call array#Array#init on */ +core___core__Array___core__kernel__Object__init(var52); /* Direct call array$Array$init on */ } -var_mparameters = var41; -var42 = NEW_nitc__MSignature(&type_nitc__MSignature); +var_mparameters = var52; +var53 = NEW_nitc__MSignature(&type_nitc__MSignature); { -((void(*)(val* self, val* p0))(var42->class->vft[COLOR_nitc__model__MSignature__mparameters_61d]))(var42, var_mparameters); /* mparameters= on */ +((void(*)(val* self, val* p0))(var53->class->vft[COLOR_nitc__model__MSignature__mparameters_61d]))(var53, var_mparameters); /* mparameters= on */ } { -((void(*)(val* self, val* p0))(var42->class->vft[COLOR_nitc__model__MSignature__return_mtype_61d]))(var42, ((val*)NULL)); /* return_mtype= on */ +((void(*)(val* self, val* p0))(var53->class->vft[COLOR_nitc__model__MSignature__return_mtype_61d]))(var53, ((val*)NULL)); /* return_mtype= on */ } { -((void(*)(val* self))(var42->class->vft[COLOR_core__kernel__Object__init]))(var42); /* init on */ +((void(*)(val* self))(var53->class->vft[COLOR_core__kernel__Object__init]))(var53); /* init on */ } -var_msignature = var42; +var_msignature = var53; { -{ /* Inline model#MMethodDef#msignature= (var_mpropdef,var_msignature) on */ +{ /* Inline model$MMethodDef$msignature= (var_mpropdef,var_msignature) on */ var_mpropdef->attrs[COLOR_nitc__model__MMethodDef___msignature].val = var_msignature; /* _msignature on */ -RET_LABEL43:(void)0; +RET_LABEL54:(void)0; } } { -{ /* Inline model#MMethodDef#new_msignature= (var_mpropdef,var_msignature) on */ +{ /* Inline model$MMethodDef$new_msignature= (var_mpropdef,var_msignature) on */ var_mpropdef->attrs[COLOR_nitc__model__MMethodDef___new_msignature].val = var_msignature; /* _new_msignature on */ -RET_LABEL44:(void)0; +RET_LABEL55:(void)0; } } { -{ /* Inline model#MMethod#is_init= (var_mprop,1) on */ +{ /* Inline model$MMethod$is_init= (var_mprop,1) on */ var_mprop->attrs[COLOR_nitc__model__MMethod___is_init].s = 1; /* _is_init on */ -RET_LABEL45:(void)0; +RET_LABEL56:(void)0; } } { -{ /* Inline modelize_property#AClassdef#mfree_init= (var_nclassdef,var_mpropdef) on */ -var_nclassdef->attrs[COLOR_nitc__modelize_property__AClassdef___mfree_init].val = var_mpropdef; /* _mfree_init on */ -RET_LABEL46:(void)0; -} +{ /* Inline modelbuilder_base$ModelBuilder$toolcontext (self) on */ +var59 = self->attrs[COLOR_nitc__modelbuilder_base__ModelBuilder___toolcontext].val; /* _toolcontext on */ +if (unlikely(var59 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -{ -{ /* Inline modelbuilder_base#ModelBuilder#toolcontext (self) on */ -var49 = self->attrs[COLOR_nitc__modelbuilder_base__ModelBuilder___toolcontext].val; /* _toolcontext on */ -if (unlikely(var49 == NULL)) { PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _toolcontext"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelbuilder_base, 47); fatal_exit(1); } -var47 = var49; -RET_LABEL48:(void)0; +var57 = var59; +RET_LABEL58:(void)0; } } -if (unlikely(varonce50==NULL)) { -var51 = NEW_core__NativeArray(4l, &type_core__NativeArray__core__String); -if (likely(varonce52!=NULL)) { -var53 = varonce52; +if (unlikely(varonce60==NULL)) { +var61 = NEW_core__NativeArray((int)4l, &type_core__NativeArray__core__String); +if (likely(varonce62!=NULL)) { +var63 = varonce62; } else { -var54 = " gets a free empty constructor "; -var55 = core__flat___NativeString___to_s_full(var54, 31l, 31l); -var53 = var55; -varonce52 = var53; +var64 = " gets a free empty constructor "; +var66 = (val*)(31l<<2|1); +var67 = (val*)(31l<<2|1); +var68 = (val*)((long)(0)<<2|3); +var69 = (val*)((long)(0)<<2|3); +var65 = core__flat___CString___to_s_unsafe(var64, var66, var67, var68, var69); +var63 = var65; +varonce62 = var63; } -((struct instance_core__NativeArray*)var51)->values[1]=var53; +((struct instance_core__NativeArray*)var61)->values[1]=var63; } else { -var51 = varonce50; -varonce50 = NULL; +var61 = varonce60; +varonce60 = NULL; } { -var56 = ((val*(*)(val* self))(var_mclassdef->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_mclassdef); /* to_s on */ +var70 = ((val*(*)(val* self))(var_mclassdef->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_mclassdef); /* to_s on */ } -((struct instance_core__NativeArray*)var51)->values[0]=var56; +((struct instance_core__NativeArray*)var61)->values[0]=var70; { -var57 = ((val*(*)(val* self))(var_mpropdef->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_mpropdef); /* to_s on */ +var71 = ((val*(*)(val* self))(var_mpropdef->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_mpropdef); /* to_s on */ } -((struct instance_core__NativeArray*)var51)->values[2]=var57; +((struct instance_core__NativeArray*)var61)->values[2]=var71; { -var58 = ((val*(*)(val* self))(var_msignature->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_msignature); /* to_s on */ +var72 = ((val*(*)(val* self))(var_msignature->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_msignature); /* to_s on */ } -((struct instance_core__NativeArray*)var51)->values[3]=var58; +((struct instance_core__NativeArray*)var61)->values[3]=var72; { -var59 = ((val*(*)(val* self))(var51->class->vft[COLOR_core__abstract_text__NativeArray__native_to_s]))(var51); /* native_to_s on */ +var73 = ((val*(*)(val* self))(var61->class->vft[COLOR_core__abstract_text__NativeArray__native_to_s]))(var61); /* native_to_s on */ } -varonce50 = var51; +varonce60 = var61; { -nitc___nitc__ToolContext___info(var47, var59, 3l); /* Direct call toolcontext#ToolContext#info on */ +nitc___nitc__ToolContext___info(var57, var73, 3l); /* Direct call toolcontext$ToolContext$info on */ } { -{ /* Inline modelize_property#ModelBuilder#the_root_init_mmethod= (self,var_mprop) on */ +{ /* Inline modelize_property$ModelBuilder$the_root_init_mmethod= (self,var_mprop) on */ self->attrs[COLOR_nitc__modelize_property__ModelBuilder___the_root_init_mmethod].val = var_mprop; /* _the_root_init_mmethod on */ -RET_LABEL60:(void)0; +RET_LABEL74:(void)0; } } goto RET_LABEL; @@ -2034,2341 +2300,2689 @@ goto RET_LABEL; } var_defined_init = ((val*)NULL); { -{ /* Inline model#MClassDef#mpropdefs (var_mclassdef) on */ -var63 = var_mclassdef->attrs[COLOR_nitc__model__MClassDef___mpropdefs].val; /* _mpropdefs on */ -if (unlikely(var63 == NULL)) { +{ /* Inline model$MClassDef$mpropdefs (var_mclassdef) on */ +var77 = var_mclassdef->attrs[COLOR_nitc__model__MClassDef___mpropdefs].val; /* _mpropdefs on */ +if (unlikely(var77 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mpropdefs"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 707); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 723); fatal_exit(1); } -var61 = var63; -RET_LABEL62:(void)0; +var75 = var77; +RET_LABEL76:(void)0; } } -var_64 = var61; +var_78 = var75; { -var65 = core___core__AbstractArrayRead___core__abstract_collection__Collection__iterator(var_64); +var79 = core___core__AbstractArrayRead___core__abstract_collection__Collection__iterator(var_78); } -var_66 = var65; +var_80 = var79; for(;;) { { -var67 = ((short int(*)(val* self))((((long)var_66&3)?class_info[((long)var_66&3)]:var_66->class)->vft[COLOR_core__abstract_collection__Iterator__is_ok]))(var_66); /* is_ok on */ +var81 = ((short int(*)(val* self))((((long)var_80&3)?class_info[((long)var_80&3)]:var_80->class)->vft[COLOR_core__abstract_collection__Iterator__is_ok]))(var_80); /* is_ok on */ } -if (var67){ +if (var81){ } else { goto BREAK_label; } { -var68 = ((val*(*)(val* self))((((long)var_66&3)?class_info[((long)var_66&3)]:var_66->class)->vft[COLOR_core__abstract_collection__Iterator__item]))(var_66); /* item on */ +var82 = ((val*(*)(val* self))((((long)var_80&3)?class_info[((long)var_80&3)]:var_80->class)->vft[COLOR_core__abstract_collection__Iterator__item]))(var_80); /* item on */ } -var_mpropdef69 = var68; -/* isa MMethodDef */ +var_mpropdef83 = var82; +/* isa MMethodDef */ cltype = type_nitc__MMethodDef.color; idtype = type_nitc__MMethodDef.id; -if(cltype >= var_mpropdef69->type->table_size) { -var70 = 0; +if(cltype >= var_mpropdef83->type->table_size) { +var84 = 0; } else { -var70 = var_mpropdef69->type->type_table[cltype] == idtype; +var84 = var_mpropdef83->type->type_table[cltype] == idtype; } -var71 = !var70; -if (var71){ -goto BREAK_label72; +var85 = !var84; +if (var85){ +goto BREAK_label86; } else { } { -{ /* Inline model#MPropDef#mproperty (var_mpropdef69) on */ -var75 = var_mpropdef69->attrs[COLOR_nitc__model__MPropDef___mproperty].val; /* _mproperty on */ -if (unlikely(var75 == NULL)) { +{ /* Inline model$MPropDef$mproperty (var_mpropdef83) on */ +var89 = var_mpropdef83->attrs[COLOR_nitc__model__MPropDef___mproperty].val; /* _mproperty on */ +if (unlikely(var89 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2230); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2357); fatal_exit(1); } -var73 = var75; -RET_LABEL74:(void)0; +var87 = var89; +RET_LABEL88:(void)0; } } { -{ /* Inline model#MMethod#is_init (var73) on */ -var78 = var73->attrs[COLOR_nitc__model__MMethod___is_init].s; /* _is_init on */ -var76 = var78; -RET_LABEL77:(void)0; +{ /* Inline model$MMethod$is_init (var87) on */ +var92 = var87->attrs[COLOR_nitc__model__MMethod___is_init].s; /* _is_init on */ +var90 = var92; +RET_LABEL91:(void)0; } } -var79 = !var76; -if (var79){ -goto BREAK_label72; +var93 = !var90; +if (var93){ +goto BREAK_label86; } else { } { -{ /* Inline model#MPropDef#mproperty (var_mpropdef69) on */ -var82 = var_mpropdef69->attrs[COLOR_nitc__model__MPropDef___mproperty].val; /* _mproperty on */ -if (unlikely(var82 == NULL)) { +{ /* Inline model$MPropDef$mproperty (var_mpropdef83) on */ +var96 = var_mpropdef83->attrs[COLOR_nitc__model__MPropDef___mproperty].val; /* _mproperty on */ +if (unlikely(var96 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2230); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2357); fatal_exit(1); } -var80 = var82; -RET_LABEL81:(void)0; +var94 = var96; +RET_LABEL95:(void)0; } } { -{ /* Inline model#MMethod#is_root_init (var80) on */ -var85 = var80->attrs[COLOR_nitc__model__MMethod___is_root_init].s; /* _is_root_init on */ -var83 = var85; -RET_LABEL84:(void)0; +{ /* Inline model$MMethod$is_root_init (var94) on */ +var99 = var94->attrs[COLOR_nitc__model__MMethod___is_root_init].s; /* _is_root_init on */ +var97 = var99; +RET_LABEL98:(void)0; } } -if (var83){ +if (var97){ if (var_defined_init == NULL) { -var86 = 1; /* is null */ +var100 = 1; /* is null */ } else { -var86 = 0; /* arg is null but recv is not */ +var100 = 0; /* arg is null but recv is not */ } if (0) { -{ /* Inline kernel#Object#== (var_defined_init,((val*)NULL)) on */ +{ /* Inline kernel$Object$== (var_defined_init,((val*)NULL)) on */ var_other = ((val*)NULL); { -{ /* Inline kernel#Object#is_same_instance (var_defined_init,var_other) on */ -var91 = var_defined_init == var_other; -var89 = var91; -goto RET_LABEL90; -RET_LABEL90:(void)0; +{ /* Inline kernel$Object$is_same_instance (var_defined_init,var_other) on */ +var105 = var_defined_init == var_other; +var103 = var105; +goto RET_LABEL104; +RET_LABEL104:(void)0; } } -var87 = var89; -goto RET_LABEL88; -RET_LABEL88:(void)0; +var101 = var103; +goto RET_LABEL102; +RET_LABEL102:(void)0; +} +var100 = var101; } -var86 = var87; +if (unlikely(!var100)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -if (unlikely(!var86)) { PRINT_ERROR("Runtime error: %s", "Assert failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property, 168); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property, 166); fatal_exit(1); } -var_defined_init = var_mpropdef69; +var_defined_init = var_mpropdef83; } else { { -{ /* Inline model#MPropDef#mproperty (var_mpropdef69) on */ -var94 = var_mpropdef69->attrs[COLOR_nitc__model__MPropDef___mproperty].val; /* _mproperty on */ -if (unlikely(var94 == NULL)) { +{ /* Inline model$MPropDef$mproperty (var_mpropdef83) on */ +var108 = var_mpropdef83->attrs[COLOR_nitc__model__MPropDef___mproperty].val; /* _mproperty on */ +if (unlikely(var108 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2230); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2357); fatal_exit(1); } -var92 = var94; -RET_LABEL93:(void)0; +var106 = var108; +RET_LABEL107:(void)0; } } { -{ /* Inline model#MProperty#name (var92) on */ -var97 = var92->attrs[COLOR_nitc__model__MProperty___name].val; /* _name on */ -if (unlikely(var97 == NULL)) { +{ /* Inline model$MProperty$name (var106) on */ +var111 = var106->attrs[COLOR_nitc__model__MProperty___name].val; /* _name on */ +if (unlikely(var111 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _name"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 1951); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2047); fatal_exit(1); } -var95 = var97; -RET_LABEL96:(void)0; +var109 = var111; +RET_LABEL110:(void)0; } } -if (likely(varonce98!=NULL)) { -var99 = varonce98; +if (likely(varonce112!=NULL)) { +var113 = varonce112; } else { -var100 = "init"; -var101 = core__flat___NativeString___to_s_full(var100, 4l, 4l); -var99 = var101; -varonce98 = var99; +var114 = "init"; +var116 = (val*)(4l<<2|1); +var117 = (val*)(4l<<2|1); +var118 = (val*)((long)(0)<<2|3); +var119 = (val*)((long)(0)<<2|3); +var115 = core__flat___CString___to_s_unsafe(var114, var116, var117, var118, var119); +var113 = var115; +varonce112 = var113; } { -var102 = ((short int(*)(val* self, val* p0))(var95->class->vft[COLOR_core__kernel__Object___61d_61d]))(var95, var99); /* == on */ +var120 = ((short int(*)(val* self, val* p0))(var109->class->vft[COLOR_core__kernel__Object___61d_61d]))(var109, var113); /* == on */ } -if (var102){ +if (var120){ goto RET_LABEL; } else { } } -BREAK_label72: (void)0; +BREAK_label86: (void)0; { -((void(*)(val* self))((((long)var_66&3)?class_info[((long)var_66&3)]:var_66->class)->vft[COLOR_core__abstract_collection__Iterator__next]))(var_66); /* next on */ +((void(*)(val* self))((((long)var_80&3)?class_info[((long)var_80&3)]:var_80->class)->vft[COLOR_core__abstract_collection__Iterator__next]))(var_80); /* next on */ } } BREAK_label: (void)0; { -((void(*)(val* self))((((long)var_66&3)?class_info[((long)var_66&3)]:var_66->class)->vft[COLOR_core__abstract_collection__Iterator__finish]))(var_66); /* finish on */ +((void(*)(val* self))((((long)var_80&3)?class_info[((long)var_80&3)]:var_80->class)->vft[COLOR_core__abstract_collection__Iterator__finish]))(var_80); /* finish on */ } /* isa AStdClassdef */ -cltype104 = type_nitc__AStdClassdef.color; -idtype105 = type_nitc__AStdClassdef.id; -if(cltype104 >= var_nclassdef->type->table_size) { -var103 = 0; +cltype122 = type_nitc__AStdClassdef.color; +idtype123 = type_nitc__AStdClassdef.id; +if(cltype122 >= var_nclassdef->type->table_size) { +var121 = 0; } else { -var103 = var_nclassdef->type->type_table[cltype104] == idtype105; +var121 = var_nclassdef->type->type_table[cltype122] == idtype123; } -var106 = !var103; -if (var106){ +var124 = !var121; +if (var124){ goto RET_LABEL; } else { } -var107 = NEW_core__Array(&type_core__Array__nitc__MParameter); +var125 = NEW_core__Array(&type_core__Array__nitc__MParameter); { -core___core__Array___core__kernel__Object__init(var107); /* Direct call array#Array#init on */ +core___core__Array___core__kernel__Object__init(var125); /* Direct call array$Array$init on */ } -var_mparameters108 = var107; -var109 = NEW_core__Array(&type_core__Array__nitc__MProperty); +var_mparameters126 = var125; +var127 = NEW_core__Array(&type_core__Array__nitc__MProperty); { -core___core__Array___core__kernel__Object__init(var109); /* Direct call array#Array#init on */ +core___core__Array___core__kernel__Object__init(var127); /* Direct call array$Array$init on */ } -var_initializers = var109; +var_initializers = var127; { -{ /* Inline parser_nodes#AClassdef#n_propdefs (var_nclassdef) on */ -var112 = var_nclassdef->attrs[COLOR_nitc__parser_nodes__AClassdef___n_propdefs].val; /* _n_propdefs on */ -if (unlikely(var112 == NULL)) { +{ /* Inline parser_nodes$AClassdef$n_propdefs (var_nclassdef) on */ +var130 = var_nclassdef->attrs[COLOR_nitc__parser_nodes__AClassdef___n_propdefs].val; /* _n_propdefs on */ +if (unlikely(var130 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_propdefs"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1155); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1218); fatal_exit(1); } -var110 = var112; -RET_LABEL111:(void)0; +var128 = var130; +RET_LABEL129:(void)0; } } -var_113 = var110; +var_131 = var128; { -var114 = nitc___nitc__ANodes___core__abstract_collection__Collection__iterator(var_113); +var132 = nitc___nitc__ANodes___core__abstract_collection__Collection__iterator(var_131); } -var_115 = var114; +var_133 = var132; for(;;) { { -var116 = ((short int(*)(val* self))((((long)var_115&3)?class_info[((long)var_115&3)]:var_115->class)->vft[COLOR_core__abstract_collection__Iterator__is_ok]))(var_115); /* is_ok on */ +var134 = ((short int(*)(val* self))((((long)var_133&3)?class_info[((long)var_133&3)]:var_133->class)->vft[COLOR_core__abstract_collection__Iterator__is_ok]))(var_133); /* is_ok on */ } -if (var116){ +if (var134){ } else { -goto BREAK_label117; +goto BREAK_label135; } { -var118 = ((val*(*)(val* self))((((long)var_115&3)?class_info[((long)var_115&3)]:var_115->class)->vft[COLOR_core__abstract_collection__Iterator__item]))(var_115); /* item on */ +var136 = ((val*(*)(val* self))((((long)var_133&3)?class_info[((long)var_133&3)]:var_133->class)->vft[COLOR_core__abstract_collection__Iterator__item]))(var_133); /* item on */ } -var_npropdef = var118; +var_npropdef = var136; /* isa AMethPropdef */ -cltype120 = type_nitc__AMethPropdef.color; -idtype121 = type_nitc__AMethPropdef.id; -if(cltype120 >= var_npropdef->type->table_size) { -var119 = 0; +cltype138 = type_nitc__AMethPropdef.color; +idtype139 = type_nitc__AMethPropdef.id; +if(cltype138 >= var_npropdef->type->table_size) { +var137 = 0; } else { -var119 = var_npropdef->type->type_table[cltype120] == idtype121; +var137 = var_npropdef->type->type_table[cltype138] == idtype139; } -if (var119){ +if (var137){ { -{ /* Inline modelize_property#AMethPropdef#is_autoinit (var_npropdef) on */ -var124 = var_npropdef->attrs[COLOR_nitc__modelize_property__AMethPropdef___is_autoinit].s; /* _is_autoinit on */ -var122 = var124; -RET_LABEL123:(void)0; +{ /* Inline modelize_property$AMethPropdef$is_autoinit (var_npropdef) on */ +var142 = var_npropdef->attrs[COLOR_nitc__modelize_property__AMethPropdef___is_autoinit].s; /* _is_autoinit on */ +var140 = var142; +RET_LABEL141:(void)0; } } -var125 = !var122; -if (var125){ -goto BREAK_label126; +var143 = !var140; +if (var143){ +goto BREAK_label144; } else { } { -{ /* Inline modelize_property#APropdef#mpropdef (var_npropdef) on */ -var129 = var_npropdef->attrs[COLOR_nitc__modelize_property__APropdef___mpropdef].val; /* _mpropdef on */ -var127 = var129; -RET_LABEL128:(void)0; +{ /* Inline modelize_property$APropdef$mpropdef (var_npropdef) on */ +var147 = var_npropdef->attrs[COLOR_nitc__modelize_property__APropdef___mpropdef].val; /* _mpropdef on */ +var145 = var147; +RET_LABEL146:(void)0; } } -var_mpropdef130 = var127; -if (var_mpropdef130 == NULL) { -var131 = 1; /* is null */ +var_mpropdef148 = var145; +if (var_mpropdef148 == NULL) { +var149 = 1; /* is null */ } else { -var131 = 0; /* arg is null but recv is not */ +var149 = 0; /* arg is null but recv is not */ } if (0) { -{ /* Inline kernel#Object#== (var_mpropdef130,((val*)NULL)) on */ +{ /* Inline kernel$Object$== (var_mpropdef148,((val*)NULL)) on */ var_other = ((val*)NULL); { -{ /* Inline kernel#Object#is_same_instance (var_mpropdef130,var_other) on */ -var136 = var_mpropdef130 == var_other; -var134 = var136; -goto RET_LABEL135; -RET_LABEL135:(void)0; +{ /* Inline kernel$Object$is_same_instance (var_mpropdef148,var_other) on */ +var154 = var_mpropdef148 == var_other; +var152 = var154; +goto RET_LABEL153; +RET_LABEL153:(void)0; } } -var132 = var134; -goto RET_LABEL133; -RET_LABEL133:(void)0; +var150 = var152; +goto RET_LABEL151; +RET_LABEL151:(void)0; } -var131 = var132; +var149 = var150; } -if (var131){ +if (var149){ goto RET_LABEL; } else { } { -{ /* Inline model#MMethodDef#msignature (var_mpropdef130) on */ -var139 = var_mpropdef130->attrs[COLOR_nitc__model__MMethodDef___msignature].val; /* _msignature on */ -var137 = var139; -RET_LABEL138:(void)0; +{ /* Inline model$MMethodDef$msignature (var_mpropdef148) on */ +var157 = var_mpropdef148->attrs[COLOR_nitc__model__MMethodDef___msignature].val; /* _msignature on */ +var155 = var157; +RET_LABEL156:(void)0; } } -var_sig = var137; +var_sig = var155; if (var_sig == NULL) { -var140 = 1; /* is null */ +var158 = 1; /* is null */ } else { -var140 = 0; /* arg is null but recv is not */ +var158 = 0; /* arg is null but recv is not */ } if (0) { -{ /* Inline kernel#Object#== (var_sig,((val*)NULL)) on */ +{ /* Inline kernel$Object$== (var_sig,((val*)NULL)) on */ var_other = ((val*)NULL); { -{ /* Inline kernel#Object#is_same_instance (var_sig,var_other) on */ -var145 = var_sig == var_other; -var143 = var145; -goto RET_LABEL144; -RET_LABEL144:(void)0; +{ /* Inline kernel$Object$is_same_instance (var_sig,var_other) on */ +var163 = var_sig == var_other; +var161 = var163; +goto RET_LABEL162; +RET_LABEL162:(void)0; } } -var141 = var143; -goto RET_LABEL142; -RET_LABEL142:(void)0; +var159 = var161; +goto RET_LABEL160; +RET_LABEL160:(void)0; } -var140 = var141; +var158 = var159; } -if (var140){ -goto BREAK_label126; +if (var158){ +goto BREAK_label144; } else { } { -{ /* Inline model#MSignature#mparameters (var_sig) on */ -var148 = var_sig->attrs[COLOR_nitc__model__MSignature___mparameters].val; /* _mparameters on */ -if (unlikely(var148 == NULL)) { +{ /* Inline model$MSignature$mparameters (var_sig) on */ +var166 = var_sig->attrs[COLOR_nitc__model__MSignature___mparameters].val; /* _mparameters on */ +if (unlikely(var166 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mparameters"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 1783); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 1879); fatal_exit(1); } -var146 = var148; -RET_LABEL147:(void)0; +var164 = var166; +RET_LABEL165:(void)0; } } { -core___core__Array___core__abstract_collection__SimpleCollection__add_all(var_mparameters108, var146); /* Direct call array#Array#add_all on */ +core___core__Array___core__abstract_collection__SimpleCollection__add_all(var_mparameters126, var164); /* Direct call array$Array$add_all on */ } { -{ /* Inline model#MPropDef#mproperty (var_mpropdef130) on */ -var151 = var_mpropdef130->attrs[COLOR_nitc__model__MPropDef___mproperty].val; /* _mproperty on */ -if (unlikely(var151 == NULL)) { +{ /* Inline model$MPropDef$mproperty (var_mpropdef148) on */ +var169 = var_mpropdef148->attrs[COLOR_nitc__model__MPropDef___mproperty].val; /* _mproperty on */ +if (unlikely(var169 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2230); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2357); fatal_exit(1); } -var149 = var151; -RET_LABEL150:(void)0; +var167 = var169; +RET_LABEL168:(void)0; } } { -core___core__Array___core__abstract_collection__SimpleCollection__add(var_initializers, var149); /* Direct call array#Array#add on */ +core___core__Array___core__abstract_collection__SimpleCollection__add(var_initializers, var167); /* Direct call array$Array$add on */ } { -{ /* Inline model#MPropDef#mproperty (var_mpropdef130) on */ -var154 = var_mpropdef130->attrs[COLOR_nitc__model__MPropDef___mproperty].val; /* _mproperty on */ -if (unlikely(var154 == NULL)) { +{ /* Inline model$MPropDef$mproperty (var_mpropdef148) on */ +var172 = var_mpropdef148->attrs[COLOR_nitc__model__MPropDef___mproperty].val; /* _mproperty on */ +if (unlikely(var172 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2230); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2357); fatal_exit(1); } -var152 = var154; -RET_LABEL153:(void)0; +var170 = var172; +RET_LABEL171:(void)0; } } { -{ /* Inline model#MProperty#is_autoinit= (var152,1) on */ -var152->attrs[COLOR_nitc__model__MProperty___is_autoinit].s = 1; /* _is_autoinit on */ -RET_LABEL155:(void)0; +{ /* Inline model$MProperty$is_autoinit= (var170,1) on */ +var170->attrs[COLOR_nitc__model__MProperty___is_autoinit].s = 1; /* _is_autoinit on */ +RET_LABEL173:(void)0; } } } else { } /* isa AAttrPropdef */ -cltype157 = type_nitc__AAttrPropdef.color; -idtype158 = type_nitc__AAttrPropdef.id; -if(cltype157 >= var_npropdef->type->table_size) { -var156 = 0; +cltype175 = type_nitc__AAttrPropdef.color; +idtype176 = type_nitc__AAttrPropdef.id; +if(cltype175 >= var_npropdef->type->table_size) { +var174 = 0; } else { -var156 = var_npropdef->type->type_table[cltype157] == idtype158; +var174 = var_npropdef->type->type_table[cltype175] == idtype176; } -if (var156){ +if (var174){ { -{ /* Inline modelize_property#AAttrPropdef#mreadpropdef (var_npropdef) on */ -var161 = var_npropdef->attrs[COLOR_nitc__modelize_property__AAttrPropdef___mreadpropdef].val; /* _mreadpropdef on */ -var159 = var161; -RET_LABEL160:(void)0; +{ /* Inline modelize_property$AAttrPropdef$mreadpropdef (var_npropdef) on */ +var179 = var_npropdef->attrs[COLOR_nitc__modelize_property__AAttrPropdef___mreadpropdef].val; /* _mreadpropdef on */ +var177 = var179; +RET_LABEL178:(void)0; } } -var_mreadpropdef = var159; +var_mreadpropdef = var177; if (var_mreadpropdef == NULL) { -var162 = 1; /* is null */ +var180 = 1; /* is null */ } else { -var162 = 0; /* arg is null but recv is not */ +var180 = 0; /* arg is null but recv is not */ } if (0) { -{ /* Inline kernel#Object#== (var_mreadpropdef,((val*)NULL)) on */ +{ /* Inline kernel$Object$== (var_mreadpropdef,((val*)NULL)) on */ var_other = ((val*)NULL); { -{ /* Inline kernel#Object#is_same_instance (var_mreadpropdef,var_other) on */ -var167 = var_mreadpropdef == var_other; -var165 = var167; -goto RET_LABEL166; -RET_LABEL166:(void)0; +{ /* Inline kernel$Object$is_same_instance (var_mreadpropdef,var_other) on */ +var185 = var_mreadpropdef == var_other; +var183 = var185; +goto RET_LABEL184; +RET_LABEL184:(void)0; } } -var163 = var165; -goto RET_LABEL164; -RET_LABEL164:(void)0; +var181 = var183; +goto RET_LABEL182; +RET_LABEL182:(void)0; } -var162 = var163; +var180 = var181; } -if (var162){ +if (var180){ goto RET_LABEL; } else { } { -{ /* Inline model#MMethodDef#msignature (var_mreadpropdef) on */ -var170 = var_mreadpropdef->attrs[COLOR_nitc__model__MMethodDef___msignature].val; /* _msignature on */ -var168 = var170; -RET_LABEL169:(void)0; +{ /* Inline model$MMethodDef$msignature (var_mreadpropdef) on */ +var188 = var_mreadpropdef->attrs[COLOR_nitc__model__MMethodDef___msignature].val; /* _msignature on */ +var186 = var188; +RET_LABEL187:(void)0; } } -var_msignature171 = var168; -if (var_msignature171 == NULL) { -var172 = 1; /* is null */ +var_msignature189 = var186; +if (var_msignature189 == NULL) { +var190 = 1; /* is null */ } else { -var172 = 0; /* arg is null but recv is not */ +var190 = 0; /* arg is null but recv is not */ } if (0) { -{ /* Inline kernel#Object#== (var_msignature171,((val*)NULL)) on */ +{ /* Inline kernel$Object$== (var_msignature189,((val*)NULL)) on */ var_other = ((val*)NULL); { -{ /* Inline kernel#Object#is_same_instance (var_msignature171,var_other) on */ -var177 = var_msignature171 == var_other; -var175 = var177; -goto RET_LABEL176; -RET_LABEL176:(void)0; +{ /* Inline kernel$Object$is_same_instance (var_msignature189,var_other) on */ +var195 = var_msignature189 == var_other; +var193 = var195; +goto RET_LABEL194; +RET_LABEL194:(void)0; } } -var173 = var175; -goto RET_LABEL174; -RET_LABEL174:(void)0; +var191 = var193; +goto RET_LABEL192; +RET_LABEL192:(void)0; } -var172 = var173; +var190 = var191; } -if (var172){ +if (var190){ goto RET_LABEL; } else { } { -{ /* Inline modelize_property#AAttrPropdef#noinit (var_npropdef) on */ -var180 = var_npropdef->attrs[COLOR_nitc__modelize_property__AAttrPropdef___noinit].s; /* _noinit on */ -var178 = var180; -RET_LABEL179:(void)0; +{ /* Inline modelize_property$AAttrPropdef$noinit (var_npropdef) on */ +var198 = var_npropdef->attrs[COLOR_nitc__modelize_property__AAttrPropdef___noinit].s; /* _noinit on */ +var196 = var198; +RET_LABEL197:(void)0; } } -if (var178){ -goto BREAK_label126; +if (var196){ +goto BREAK_label144; } else { } -if (likely(varonce181!=NULL)) { -var182 = varonce181; +if (likely(varonce199!=NULL)) { +var200 = varonce199; } else { -var183 = "lateinit"; -var184 = core__flat___NativeString___to_s_full(var183, 8l, 8l); -var182 = var184; -varonce181 = var182; +var201 = "lateinit"; +var203 = (val*)(8l<<2|1); +var204 = (val*)(8l<<2|1); +var205 = (val*)((long)(0)<<2|3); +var206 = (val*)((long)(0)<<2|3); +var202 = core__flat___CString___to_s_unsafe(var201, var203, var204, var205, var206); +var200 = var202; +varonce199 = var200; } { -var185 = nitc__annotation___Prod___get_single_annotation(var_npropdef, var182, self); +var207 = nitc__annotation___Prod___get_single_annotation(var_npropdef, var200, self); } -var_atlateinit = var185; +var_atlateinit = var207; if (var_atlateinit == NULL) { -var186 = 0; /* is null */ +var208 = 0; /* is null */ } else { -var186 = 1; /* arg is null and recv is not */ +var208 = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_atlateinit,((val*)NULL)) on */ -var_other189 = ((val*)NULL); +{ /* Inline kernel$Object$!= (var_atlateinit,((val*)NULL)) on */ +var_other211 = ((val*)NULL); { -var190 = ((short int(*)(val* self, val* p0))(var_atlateinit->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_atlateinit, var_other189); /* == on */ +var212 = ((short int(*)(val* self, val* p0))(var_atlateinit->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_atlateinit, var_other211); /* == on */ } -var191 = !var190; -var187 = var191; -goto RET_LABEL188; -RET_LABEL188:(void)0; +var213 = !var212; +var209 = var213; +goto RET_LABEL210; +RET_LABEL210:(void)0; } -var186 = var187; +var208 = var209; } -if (var186){ +if (var208){ { -{ /* Inline model#MPropDef#mproperty (var_mreadpropdef) on */ -var194 = var_mreadpropdef->attrs[COLOR_nitc__model__MPropDef___mproperty].val; /* _mproperty on */ -if (unlikely(var194 == NULL)) { +{ /* Inline model$MPropDef$mproperty (var_mreadpropdef) on */ +var216 = var_mreadpropdef->attrs[COLOR_nitc__model__MPropDef___mproperty].val; /* _mproperty on */ +if (unlikely(var216 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2230); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2357); fatal_exit(1); } -var192 = var194; -RET_LABEL193:(void)0; +var214 = var216; +RET_LABEL215:(void)0; } } { -core___core__Array___core__abstract_collection__SimpleCollection__add(var_initializers, var192); /* Direct call array#Array#add on */ +core___core__Array___core__abstract_collection__SimpleCollection__add(var_initializers, var214); /* Direct call array$Array$add on */ } { -{ /* Inline model#MPropDef#mproperty (var_mreadpropdef) on */ -var197 = var_mreadpropdef->attrs[COLOR_nitc__model__MPropDef___mproperty].val; /* _mproperty on */ -if (unlikely(var197 == NULL)) { +{ /* Inline model$MPropDef$mproperty (var_mreadpropdef) on */ +var219 = var_mreadpropdef->attrs[COLOR_nitc__model__MPropDef___mproperty].val; /* _mproperty on */ +if (unlikely(var219 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2230); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2357); fatal_exit(1); } -var195 = var197; -RET_LABEL196:(void)0; +var217 = var219; +RET_LABEL218:(void)0; } } { -{ /* Inline model#MProperty#is_autoinit= (var195,1) on */ -var195->attrs[COLOR_nitc__model__MProperty___is_autoinit].s = 1; /* _is_autoinit on */ -RET_LABEL198:(void)0; +{ /* Inline model$MProperty$is_autoinit= (var217,1) on */ +var217->attrs[COLOR_nitc__model__MProperty___is_autoinit].s = 1; /* _is_autoinit on */ +RET_LABEL220:(void)0; } } -goto BREAK_label126; +goto BREAK_label144; +} else { +} +{ +{ /* Inline modelize_property$AAttrPropdef$has_value (var_npropdef) on */ +var224 = var_npropdef->attrs[COLOR_nitc__modelize_property__AAttrPropdef___has_value].s; /* _has_value on */ +var222 = var224; +RET_LABEL223:(void)0; +} +} +var_225 = var222; +if (var222){ +{ +{ /* Inline modelize_property$AAttrPropdef$is_optional (var_npropdef) on */ +var228 = var_npropdef->attrs[COLOR_nitc__modelize_property__AAttrPropdef___is_optional].s; /* _is_optional on */ +var226 = var228; +RET_LABEL227:(void)0; +} +} +var229 = !var226; +var221 = var229; +} else { +var221 = var_225; +} +if (var221){ +goto BREAK_label144; } else { } { -{ /* Inline modelize_property#AAttrPropdef#has_value (var_npropdef) on */ -var201 = var_npropdef->attrs[COLOR_nitc__modelize_property__AAttrPropdef___has_value].s; /* _has_value on */ -var199 = var201; -RET_LABEL200:(void)0; +{ /* Inline modelize_property$AAttrPropdef$mwritepropdef (var_npropdef) on */ +var232 = var_npropdef->attrs[COLOR_nitc__modelize_property__AAttrPropdef___mwritepropdef].val; /* _mwritepropdef on */ +var230 = var232; +RET_LABEL231:(void)0; } } -if (var199){ -goto BREAK_label126; +var_msetter = var230; +if (var_msetter == NULL) { +var233 = 1; /* is null */ } else { +var233 = 0; /* arg is null but recv is not */ +} +if (0) { +{ /* Inline kernel$Object$== (var_msetter,((val*)NULL)) on */ +var_other = ((val*)NULL); +{ +{ /* Inline kernel$Object$is_same_instance (var_msetter,var_other) on */ +var238 = var_msetter == var_other; +var236 = var238; +goto RET_LABEL237; +RET_LABEL237:(void)0; +} } +var234 = var236; +goto RET_LABEL235; +RET_LABEL235:(void)0; +} +var233 = var234; +} +if (var233){ { -{ /* Inline model#MPropDef#mproperty (var_mreadpropdef) on */ -var204 = var_mreadpropdef->attrs[COLOR_nitc__model__MPropDef___mproperty].val; /* _mproperty on */ -if (unlikely(var204 == NULL)) { +{ /* Inline model$MPropDef$mproperty (var_mreadpropdef) on */ +var241 = var_mreadpropdef->attrs[COLOR_nitc__model__MPropDef___mproperty].val; /* _mproperty on */ +if (unlikely(var241 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2230); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2357); fatal_exit(1); } -var202 = var204; -RET_LABEL203:(void)0; +var239 = var241; +RET_LABEL240:(void)0; } } { -{ /* Inline model#MProperty#name (var202) on */ -var207 = var202->attrs[COLOR_nitc__model__MProperty___name].val; /* _name on */ -if (unlikely(var207 == NULL)) { +{ /* Inline model$MProperty$name (var239) on */ +var244 = var239->attrs[COLOR_nitc__model__MProperty___name].val; /* _name on */ +if (unlikely(var244 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _name"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 1951); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2047); fatal_exit(1); } -var205 = var207; -RET_LABEL206:(void)0; +var242 = var244; +RET_LABEL243:(void)0; } } -var_paramname = var205; +var_paramname = var242; { -{ /* Inline model#MSignature#return_mtype (var_msignature171) on */ -var210 = var_msignature171->attrs[COLOR_nitc__model__MSignature___return_mtype].val; /* _return_mtype on */ -var208 = var210; -RET_LABEL209:(void)0; +{ /* Inline model$MSignature$return_mtype (var_msignature189) on */ +var247 = var_msignature189->attrs[COLOR_nitc__model__MSignature___return_mtype].val; /* _return_mtype on */ +var245 = var247; +RET_LABEL246:(void)0; } } -var_ret_type = var208; +var_ret_type = var245; if (var_ret_type == NULL) { -var211 = 1; /* is null */ +var248 = 1; /* is null */ } else { -var211 = 0; /* arg is null but recv is not */ +var248 = 0; /* arg is null but recv is not */ } if (0) { -{ /* Inline kernel#Object#== (var_ret_type,((val*)NULL)) on */ +{ /* Inline kernel$Object$== (var_ret_type,((val*)NULL)) on */ var_other = ((val*)NULL); { -{ /* Inline kernel#Object#is_same_instance (var_ret_type,var_other) on */ -var216 = var_ret_type == var_other; -var214 = var216; -goto RET_LABEL215; -RET_LABEL215:(void)0; +{ /* Inline kernel$Object$is_same_instance (var_ret_type,var_other) on */ +var253 = var_ret_type == var_other; +var251 = var253; +goto RET_LABEL252; +RET_LABEL252:(void)0; } } -var212 = var214; -goto RET_LABEL213; -RET_LABEL213:(void)0; +var249 = var251; +goto RET_LABEL250; +RET_LABEL250:(void)0; } -var211 = var212; +var248 = var249; } -if (var211){ +if (var248){ goto RET_LABEL; } else { } -var217 = NEW_nitc__MParameter(&type_nitc__MParameter); +var254 = NEW_nitc__MParameter(&type_nitc__MParameter); { -((void(*)(val* self, val* p0))(var217->class->vft[COLOR_nitc__model__MParameter__name_61d]))(var217, var_paramname); /* name= on */ +((void(*)(val* self, val* p0))(var254->class->vft[COLOR_nitc__model__MParameter__name_61d]))(var254, var_paramname); /* name= on */ } { -((void(*)(val* self, val* p0))(var217->class->vft[COLOR_nitc__model__MParameter__mtype_61d]))(var217, var_ret_type); /* mtype= on */ +((void(*)(val* self, val* p0))(var254->class->vft[COLOR_nitc__model__MParameter__mtype_61d]))(var254, var_ret_type); /* mtype= on */ } { -((void(*)(val* self, short int p0))(var217->class->vft[COLOR_nitc__model__MParameter__is_vararg_61d]))(var217, 0); /* is_vararg= on */ +((void(*)(val* self, short int p0))(var254->class->vft[COLOR_nitc__model__MParameter__is_vararg_61d]))(var254, 0); /* is_vararg= on */ } { -((void(*)(val* self))(var217->class->vft[COLOR_core__kernel__Object__init]))(var217); /* init on */ +((void(*)(val* self))(var254->class->vft[COLOR_core__kernel__Object__init]))(var254); /* init on */ } -var_mparameter = var217; +var_mparameter = var254; { -core___core__Array___core__abstract_collection__SimpleCollection__add(var_mparameters108, var_mparameter); /* Direct call array#Array#add on */ +core___core__Array___core__abstract_collection__SimpleCollection__add(var_mparameters126, var_mparameter); /* Direct call array$Array$add on */ } { -{ /* Inline modelize_property#AAttrPropdef#mwritepropdef (var_npropdef) on */ -var220 = var_npropdef->attrs[COLOR_nitc__modelize_property__AAttrPropdef___mwritepropdef].val; /* _mwritepropdef on */ -var218 = var220; -RET_LABEL219:(void)0; +{ /* Inline modelize_property$APropdef$mpropdef (var_npropdef) on */ +var257 = var_npropdef->attrs[COLOR_nitc__modelize_property__APropdef___mpropdef].val; /* _mpropdef on */ +var255 = var257; +RET_LABEL256:(void)0; } } -var_msetter = var218; -if (var_msetter == NULL) { -var221 = 1; /* is null */ +if (var255 == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property, 215); +fatal_exit(1); } else { -var221 = 0; /* arg is null but recv is not */ +{ /* Inline model$MPropDef$mproperty (var255) on */ +if (unlikely(var255 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -if (0) { -{ /* Inline kernel#Object#== (var_msetter,((val*)NULL)) on */ -var_other = ((val*)NULL); -{ -{ /* Inline kernel#Object#is_same_instance (var_msetter,var_other) on */ -var226 = var_msetter == var_other; -var224 = var226; -goto RET_LABEL225; -RET_LABEL225:(void)0; +PRINT_ERROR("Runtime error: %s", "Receiver is null"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2357); +fatal_exit(1); } +var260 = var255->attrs[COLOR_nitc__model__MPropDef___mproperty].val; /* _mproperty on */ +if (unlikely(var260 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -var222 = var224; -goto RET_LABEL223; -RET_LABEL223:(void)0; +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2357); +fatal_exit(1); } -var221 = var222; +var258 = var260; +RET_LABEL259:(void)0; +} +} +{ +core___core__Array___core__abstract_collection__SimpleCollection__add(var_initializers, var258); /* Direct call array$Array$add on */ } -if (var221){ { -{ /* Inline modelize_property#APropdef#mpropdef (var_npropdef) on */ -var229 = var_npropdef->attrs[COLOR_nitc__modelize_property__APropdef___mpropdef].val; /* _mpropdef on */ -var227 = var229; -RET_LABEL228:(void)0; +{ /* Inline modelize_property$APropdef$mpropdef (var_npropdef) on */ +var263 = var_npropdef->attrs[COLOR_nitc__modelize_property__APropdef___mpropdef].val; /* _mpropdef on */ +var261 = var263; +RET_LABEL262:(void)0; +} } +if (var261 == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -if (var227 == NULL) { PRINT_ERROR("Runtime error: %s", "Receiver is null"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property, 216); fatal_exit(1); } else { -{ /* Inline model#MPropDef#mproperty (var227) on */ -if (unlikely(var227 == NULL)) { +{ /* Inline model$MPropDef$mproperty (var261) on */ +if (unlikely(var261 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2230); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2357); fatal_exit(1); } -var232 = var227->attrs[COLOR_nitc__model__MPropDef___mproperty].val; /* _mproperty on */ -if (unlikely(var232 == NULL)) { +var266 = var261->attrs[COLOR_nitc__model__MPropDef___mproperty].val; /* _mproperty on */ +if (unlikely(var266 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2230); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2357); fatal_exit(1); } -var230 = var232; -RET_LABEL231:(void)0; +var264 = var266; +RET_LABEL265:(void)0; } } { -core___core__Array___core__abstract_collection__SimpleCollection__add(var_initializers, var230); /* Direct call array#Array#add on */ +{ /* Inline model$MProperty$is_autoinit= (var264,1) on */ +var264->attrs[COLOR_nitc__model__MProperty___is_autoinit].s = 1; /* _is_autoinit on */ +RET_LABEL267:(void)0; } +} +} else { { -{ /* Inline modelize_property#APropdef#mpropdef (var_npropdef) on */ -var235 = var_npropdef->attrs[COLOR_nitc__modelize_property__APropdef___mpropdef].val; /* _mpropdef on */ -var233 = var235; -RET_LABEL234:(void)0; +{ /* Inline model$MMethodDef$msignature (var_msetter) on */ +var270 = var_msetter->attrs[COLOR_nitc__model__MMethodDef___msignature].val; /* _msignature on */ +var268 = var270; +RET_LABEL269:(void)0; } } -if (var233 == NULL) { +if (var268 == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property, 217); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property, 219); fatal_exit(1); } else { -{ /* Inline model#MPropDef#mproperty (var233) on */ -if (unlikely(var233 == NULL)) { +{ /* Inline model$MSignature$mparameters (var268) on */ +if (unlikely(var268 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2230); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 1879); fatal_exit(1); } -var238 = var233->attrs[COLOR_nitc__model__MPropDef___mproperty].val; /* _mproperty on */ -if (unlikely(var238 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2230); +var273 = var268->attrs[COLOR_nitc__model__MSignature___mparameters].val; /* _mparameters on */ +if (unlikely(var273 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} +PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mparameters"); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 1879); fatal_exit(1); } -var236 = var238; -RET_LABEL237:(void)0; +var271 = var273; +RET_LABEL272:(void)0; } } { -{ /* Inline model#MProperty#is_autoinit= (var236,1) on */ -var236->attrs[COLOR_nitc__model__MProperty___is_autoinit].s = 1; /* _is_autoinit on */ -RET_LABEL239:(void)0; -} +core___core__Array___core__abstract_collection__SimpleCollection__add_all(var_mparameters126, var271); /* Direct call array$Array$add_all on */ } -} else { { -{ /* Inline model#MPropDef#mproperty (var_msetter) on */ -var242 = var_msetter->attrs[COLOR_nitc__model__MPropDef___mproperty].val; /* _mproperty on */ -if (unlikely(var242 == NULL)) { +{ /* Inline model$MPropDef$mproperty (var_msetter) on */ +var276 = var_msetter->attrs[COLOR_nitc__model__MPropDef___mproperty].val; /* _mproperty on */ +if (unlikely(var276 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2230); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2357); fatal_exit(1); } -var240 = var242; -RET_LABEL241:(void)0; +var274 = var276; +RET_LABEL275:(void)0; } } { -core___core__Array___core__abstract_collection__SimpleCollection__add(var_initializers, var240); /* Direct call array#Array#add on */ +core___core__Array___core__abstract_collection__SimpleCollection__add(var_initializers, var274); /* Direct call array$Array$add on */ } { -{ /* Inline model#MPropDef#mproperty (var_msetter) on */ -var245 = var_msetter->attrs[COLOR_nitc__model__MPropDef___mproperty].val; /* _mproperty on */ -if (unlikely(var245 == NULL)) { +{ /* Inline model$MPropDef$mproperty (var_msetter) on */ +var279 = var_msetter->attrs[COLOR_nitc__model__MPropDef___mproperty].val; /* _mproperty on */ +if (unlikely(var279 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2230); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2357); fatal_exit(1); } -var243 = var245; -RET_LABEL244:(void)0; +var277 = var279; +RET_LABEL278:(void)0; } } { -{ /* Inline model#MProperty#is_autoinit= (var243,1) on */ -var243->attrs[COLOR_nitc__model__MProperty___is_autoinit].s = 1; /* _is_autoinit on */ -RET_LABEL246:(void)0; +{ /* Inline model$MProperty$is_autoinit= (var277,1) on */ +var277->attrs[COLOR_nitc__model__MProperty___is_autoinit].s = 1; /* _is_autoinit on */ +RET_LABEL280:(void)0; } } } } else { } -BREAK_label126: (void)0; +BREAK_label144: (void)0; { -((void(*)(val* self))((((long)var_115&3)?class_info[((long)var_115&3)]:var_115->class)->vft[COLOR_core__abstract_collection__Iterator__next]))(var_115); /* next on */ +((void(*)(val* self))((((long)var_133&3)?class_info[((long)var_133&3)]:var_133->class)->vft[COLOR_core__abstract_collection__Iterator__next]))(var_133); /* next on */ } } -BREAK_label117: (void)0; +BREAK_label135: (void)0; { -((void(*)(val* self))((((long)var_115&3)?class_info[((long)var_115&3)]:var_115->class)->vft[COLOR_core__abstract_collection__Iterator__finish]))(var_115); /* finish on */ +((void(*)(val* self))((((long)var_133&3)?class_info[((long)var_133&3)]:var_133->class)->vft[COLOR_core__abstract_collection__Iterator__finish]))(var_133); /* finish on */ } { -{ /* Inline modelize_property#ModelBuilder#the_root_init_mmethod (self) on */ -var249 = self->attrs[COLOR_nitc__modelize_property__ModelBuilder___the_root_init_mmethod].val; /* _the_root_init_mmethod on */ -var247 = var249; -RET_LABEL248:(void)0; +{ /* Inline modelize_property$ModelBuilder$the_root_init_mmethod (self) on */ +var283 = self->attrs[COLOR_nitc__modelize_property__ModelBuilder___the_root_init_mmethod].val; /* _the_root_init_mmethod on */ +var281 = var283; +RET_LABEL282:(void)0; } } -var_the_root_init_mmethod = var247; +var_the_root_init_mmethod = var281; if (var_the_root_init_mmethod == NULL) { -var250 = 1; /* is null */ +var284 = 1; /* is null */ } else { -var250 = 0; /* arg is null but recv is not */ +var284 = 0; /* arg is null but recv is not */ } if (0) { -{ /* Inline kernel#Object#== (var_the_root_init_mmethod,((val*)NULL)) on */ +{ /* Inline kernel$Object$== (var_the_root_init_mmethod,((val*)NULL)) on */ var_other = ((val*)NULL); { -{ /* Inline kernel#Object#is_same_instance (var_the_root_init_mmethod,var_other) on */ -var255 = var_the_root_init_mmethod == var_other; -var253 = var255; -goto RET_LABEL254; -RET_LABEL254:(void)0; +{ /* Inline kernel$Object$is_same_instance (var_the_root_init_mmethod,var_other) on */ +var289 = var_the_root_init_mmethod == var_other; +var287 = var289; +goto RET_LABEL288; +RET_LABEL288:(void)0; } } -var251 = var253; -goto RET_LABEL252; -RET_LABEL252:(void)0; +var285 = var287; +goto RET_LABEL286; +RET_LABEL286:(void)0; } -var250 = var251; +var284 = var285; } -if (var250){ +if (var284){ goto RET_LABEL; } else { } { -{ /* Inline model#MClassDef#mmodule (var_mclassdef) on */ -var258 = var_mclassdef->attrs[COLOR_nitc__model__MClassDef___mmodule].val; /* _mmodule on */ -if (unlikely(var258 == NULL)) { +{ /* Inline model$MClassDef$mmodule (var_mclassdef) on */ +var292 = var_mclassdef->attrs[COLOR_nitc__model__MClassDef___mmodule].val; /* _mmodule on */ +if (unlikely(var292 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mmodule"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 573); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 588); fatal_exit(1); } -var256 = var258; -RET_LABEL257:(void)0; +var290 = var292; +RET_LABEL291:(void)0; } } { -{ /* Inline model#MClassDef#bound_mtype (var_mclassdef) on */ -var261 = var_mclassdef->attrs[COLOR_nitc__model__MClassDef___bound_mtype].val; /* _bound_mtype on */ -if (unlikely(var261 == NULL)) { +{ /* Inline model$MClassDef$bound_mtype (var_mclassdef) on */ +var295 = var_mclassdef->attrs[COLOR_nitc__model__MClassDef___bound_mtype].val; /* _bound_mtype on */ +if (unlikely(var295 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _bound_mtype"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 579); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 594); fatal_exit(1); } -var259 = var261; -RET_LABEL260:(void)0; +var293 = var295; +RET_LABEL294:(void)0; } } { -var262 = nitc___nitc__MProperty___lookup_super_definitions(var_the_root_init_mmethod, var256, var259); +var296 = nitc___nitc__MProperty___lookup_super_definitions(var_the_root_init_mmethod, var290, var293); } -var_spropdefs = var262; +var_spropdefs = var296; { -var263 = core___core__AbstractArrayRead___core__abstract_collection__Collection__is_empty(var_spropdefs); +var297 = core___core__AbstractArrayRead___core__abstract_collection__Collection__is_empty(var_spropdefs); } -if (var263){ +if (var297){ { -{ /* Inline modelbuilder_base#ModelBuilder#toolcontext (self) on */ -var266 = self->attrs[COLOR_nitc__modelbuilder_base__ModelBuilder___toolcontext].val; /* _toolcontext on */ -if (unlikely(var266 == NULL)) { +{ /* Inline modelbuilder_base$ModelBuilder$toolcontext (self) on */ +var300 = self->attrs[COLOR_nitc__modelbuilder_base__ModelBuilder___toolcontext].val; /* _toolcontext on */ +if (unlikely(var300 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _toolcontext"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelbuilder_base, 47); fatal_exit(1); } -var264 = var266; -RET_LABEL265:(void)0; +var298 = var300; +RET_LABEL299:(void)0; } } { -{ /* Inline parser_nodes#ANode#location (var_nclassdef) on */ -var269 = var_nclassdef->attrs[COLOR_nitc__parser_nodes__ANode___location].val; /* _location on */ -if (unlikely(var269 == NULL)) { +{ /* Inline parser_nodes$ANode$location (var_nclassdef) on */ +var303 = var_nclassdef->attrs[COLOR_nitc__parser_nodes__ANode___location].val; /* _location on */ +if (unlikely(var303 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _location"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 24); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 25); fatal_exit(1); } -var267 = var269; -RET_LABEL268:(void)0; -} +var301 = var303; +RET_LABEL302:(void)0; } -if (unlikely(varonce270==NULL)) { -var271 = NEW_core__NativeArray(5l, &type_core__NativeArray__core__String); -if (likely(varonce272!=NULL)) { -var273 = varonce272; -} else { -var274 = "Error: `"; -var275 = core__flat___NativeString___to_s_full(var274, 8l, 8l); -var273 = var275; -varonce272 = var273; } -((struct instance_core__NativeArray*)var271)->values[0]=var273; -if (likely(varonce276!=NULL)) { -var277 = varonce276; +if (unlikely(varonce304==NULL)) { +var305 = NEW_core__NativeArray((int)5l, &type_core__NativeArray__core__String); +if (likely(varonce306!=NULL)) { +var307 = varonce306; } else { -var278 = "` does not specialize `"; -var279 = core__flat___NativeString___to_s_full(var278, 23l, 23l); -var277 = var279; -varonce276 = var277; +var308 = "Error: `"; +var310 = (val*)(8l<<2|1); +var311 = (val*)(8l<<2|1); +var312 = (val*)((long)(0)<<2|3); +var313 = (val*)((long)(0)<<2|3); +var309 = core__flat___CString___to_s_unsafe(var308, var310, var311, var312, var313); +var307 = var309; +varonce306 = var307; } -((struct instance_core__NativeArray*)var271)->values[2]=var277; -if (likely(varonce280!=NULL)) { -var281 = varonce280; +((struct instance_core__NativeArray*)var305)->values[0]=var307; +if (likely(varonce314!=NULL)) { +var315 = varonce314; } else { -var282 = "`. Possible duplication of the root class `Object`?"; -var283 = core__flat___NativeString___to_s_full(var282, 51l, 51l); -var281 = var283; -varonce280 = var281; +var316 = "` does not specialize `"; +var318 = (val*)(23l<<2|1); +var319 = (val*)(23l<<2|1); +var320 = (val*)((long)(0)<<2|3); +var321 = (val*)((long)(0)<<2|3); +var317 = core__flat___CString___to_s_unsafe(var316, var318, var319, var320, var321); +var315 = var317; +varonce314 = var315; +} +((struct instance_core__NativeArray*)var305)->values[2]=var315; +if (likely(varonce322!=NULL)) { +var323 = varonce322; +} else { +var324 = "`. Possible duplication of the root class `Object`?"; +var326 = (val*)(51l<<2|1); +var327 = (val*)(51l<<2|1); +var328 = (val*)((long)(0)<<2|3); +var329 = (val*)((long)(0)<<2|3); +var325 = core__flat___CString___to_s_unsafe(var324, var326, var327, var328, var329); +var323 = var325; +varonce322 = var323; } -((struct instance_core__NativeArray*)var271)->values[4]=var281; +((struct instance_core__NativeArray*)var305)->values[4]=var323; } else { -var271 = varonce270; -varonce270 = NULL; +var305 = varonce304; +varonce304 = NULL; } { -var284 = ((val*(*)(val* self))(var_mclassdef->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_mclassdef); /* to_s on */ +var330 = ((val*(*)(val* self))(var_mclassdef->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_mclassdef); /* to_s on */ } -((struct instance_core__NativeArray*)var271)->values[1]=var284; +((struct instance_core__NativeArray*)var305)->values[1]=var330; { -{ /* Inline model#MProperty#intro_mclassdef (var_the_root_init_mmethod) on */ -var287 = var_the_root_init_mmethod->attrs[COLOR_nitc__model__MProperty___intro_mclassdef].val; /* _intro_mclassdef on */ -if (unlikely(var287 == NULL)) { +{ /* Inline model$MProperty$intro_mclassdef (var_the_root_init_mmethod) on */ +var333 = var_the_root_init_mmethod->attrs[COLOR_nitc__model__MProperty___intro_mclassdef].val; /* _intro_mclassdef on */ +if (unlikely(var333 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _intro_mclassdef"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 1946); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2042); fatal_exit(1); } -var285 = var287; -RET_LABEL286:(void)0; +var331 = var333; +RET_LABEL332:(void)0; } } { -var288 = ((val*(*)(val* self))(var285->class->vft[COLOR_core__abstract_text__Object__to_s]))(var285); /* to_s on */ +var334 = ((val*(*)(val* self))(var331->class->vft[COLOR_core__abstract_text__Object__to_s]))(var331); /* to_s on */ } -((struct instance_core__NativeArray*)var271)->values[3]=var288; +((struct instance_core__NativeArray*)var305)->values[3]=var334; { -var289 = ((val*(*)(val* self))(var271->class->vft[COLOR_core__abstract_text__NativeArray__native_to_s]))(var271); /* native_to_s on */ +var335 = ((val*(*)(val* self))(var305->class->vft[COLOR_core__abstract_text__NativeArray__native_to_s]))(var305); /* native_to_s on */ } -varonce270 = var271; +varonce304 = var305; { -var290 = nitc___nitc__ToolContext___error(var264, var267, var289); +var336 = nitc___nitc__ToolContext___error(var298, var301, var335); } goto RET_LABEL; } else { } -if (likely(varonce291!=NULL)) { -var292 = varonce291; +if (likely(varonce337!=NULL)) { +var338 = varonce337; } else { -var293 = "autoinit"; -var294 = core__flat___NativeString___to_s_full(var293, 8l, 8l); -var292 = var294; -varonce291 = var292; +var339 = "autoinit"; +var341 = (val*)(8l<<2|1); +var342 = (val*)(8l<<2|1); +var343 = (val*)((long)(0)<<2|3); +var344 = (val*)((long)(0)<<2|3); +var340 = core__flat___CString___to_s_unsafe(var339, var341, var342, var343, var344); +var338 = var340; +varonce337 = var338; } { -var295 = nitc__annotation___Prod___get_single_annotation(var_nclassdef, var292, self); +var345 = nitc__annotation___Prod___get_single_annotation(var_nclassdef, var338, self); } -var_autoinit = var295; -if (likely(varonce296!=NULL)) { -var297 = varonce296; +var_autoinit = var345; +if (likely(varonce346!=NULL)) { +var347 = varonce346; } else { -var298 = "noautoinit"; -var299 = core__flat___NativeString___to_s_full(var298, 10l, 10l); -var297 = var299; -varonce296 = var297; +var348 = "noautoinit"; +var350 = (val*)(10l<<2|1); +var351 = (val*)(10l<<2|1); +var352 = (val*)((long)(0)<<2|3); +var353 = (val*)((long)(0)<<2|3); +var349 = core__flat___CString___to_s_unsafe(var348, var350, var351, var352, var353); +var347 = var349; +varonce346 = var347; } { -var300 = nitc__annotation___Prod___get_single_annotation(var_nclassdef, var297, self); +var354 = nitc__annotation___Prod___get_single_annotation(var_nclassdef, var347, self); } -var_noautoinit = var300; +var_noautoinit = var354; if (var_autoinit == NULL) { -var301 = 0; /* is null */ +var355 = 0; /* is null */ } else { -var301 = 1; /* arg is null and recv is not */ +var355 = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_autoinit,((val*)NULL)) on */ -var_other189 = ((val*)NULL); +{ /* Inline kernel$Object$!= (var_autoinit,((val*)NULL)) on */ +var_other211 = ((val*)NULL); { -var304 = ((short int(*)(val* self, val* p0))(var_autoinit->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_autoinit, var_other189); /* == on */ +var358 = ((short int(*)(val* self, val* p0))(var_autoinit->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_autoinit, var_other211); /* == on */ } -var305 = !var304; -var302 = var305; -goto RET_LABEL303; -RET_LABEL303:(void)0; +var359 = !var358; +var356 = var359; +goto RET_LABEL357; +RET_LABEL357:(void)0; } -var301 = var302; +var355 = var356; } -if (var301){ +if (var355){ { -core___core__AbstractArray___core__abstract_collection__RemovableCollection__clear(var_mparameters108); /* Direct call array#AbstractArray#clear on */ +core___core__AbstractArray___core__abstract_collection__RemovableCollection__clear(var_mparameters126); /* Direct call array$AbstractArray$clear on */ } { -core___core__AbstractArray___core__abstract_collection__RemovableCollection__clear(var_initializers); /* Direct call array#AbstractArray#clear on */ +core___core__AbstractArray___core__abstract_collection__RemovableCollection__clear(var_initializers); /* Direct call array$AbstractArray$clear on */ } if (var_noautoinit == NULL) { -var306 = 0; /* is null */ +var360 = 0; /* is null */ } else { -var306 = 1; /* arg is null and recv is not */ +var360 = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_noautoinit,((val*)NULL)) on */ -var_other189 = ((val*)NULL); +{ /* Inline kernel$Object$!= (var_noautoinit,((val*)NULL)) on */ +var_other211 = ((val*)NULL); { -var309 = ((short int(*)(val* self, val* p0))(var_noautoinit->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_noautoinit, var_other189); /* == on */ +var363 = ((short int(*)(val* self, val* p0))(var_noautoinit->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_noautoinit, var_other211); /* == on */ } -var310 = !var309; -var307 = var310; -goto RET_LABEL308; -RET_LABEL308:(void)0; +var364 = !var363; +var361 = var364; +goto RET_LABEL362; +RET_LABEL362:(void)0; } -var306 = var307; +var360 = var361; } -if (var306){ -if (likely(varonce311!=NULL)) { -var312 = varonce311; +if (var360){ +if (likely(varonce365!=NULL)) { +var366 = varonce365; } else { -var313 = "Error: `autoinit` and `noautoinit` are incompatible."; -var314 = core__flat___NativeString___to_s_full(var313, 52l, 52l); -var312 = var314; -varonce311 = var312; +var367 = "Error: `autoinit` and `noautoinit` are incompatible."; +var369 = (val*)(52l<<2|1); +var370 = (val*)(52l<<2|1); +var371 = (val*)((long)(0)<<2|3); +var372 = (val*)((long)(0)<<2|3); +var368 = core__flat___CString___to_s_unsafe(var367, var369, var370, var371, var372); +var366 = var368; +varonce365 = var366; } { -nitc___nitc__ModelBuilder___error(self, var_autoinit, var312); /* Direct call modelbuilder_base#ModelBuilder#error on */ +nitc___nitc__ModelBuilder___error(self, var_autoinit, var366); /* Direct call modelbuilder_base$ModelBuilder$error on */ } } else { } { -{ /* Inline parser_nodes#AAnnotation#n_args (var_autoinit) on */ -var317 = var_autoinit->attrs[COLOR_nitc__parser_nodes__AAnnotation___n_args].val; /* _n_args on */ -if (unlikely(var317 == NULL)) { +{ /* Inline parser_nodes$AAnnotation$n_args (var_autoinit) on */ +var375 = var_autoinit->attrs[COLOR_nitc__parser_nodes__AAnnotation___n_args].val; /* _n_args on */ +if (unlikely(var375 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_args"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 2926); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 3007); fatal_exit(1); } -var315 = var317; -RET_LABEL316:(void)0; +var373 = var375; +RET_LABEL374:(void)0; } } { -var318 = nitc___nitc__ANodes___core__abstract_collection__Collection__is_empty(var315); +var376 = nitc___nitc__ANodes___core__abstract_collection__Collection__is_empty(var373); } -if (var318){ -if (likely(varonce319!=NULL)) { -var320 = varonce319; +if (var376){ +if (likely(varonce377!=NULL)) { +var378 = varonce377; } else { -var321 = "Syntax Error: `autoinit` expects method identifiers, use `noautoinit` to clear all autoinits."; -var322 = core__flat___NativeString___to_s_full(var321, 93l, 93l); -var320 = var322; -varonce319 = var320; +var379 = "Syntax Error: `autoinit` expects method identifiers, use `noautoinit` to clear all autoinits."; +var381 = (val*)(93l<<2|1); +var382 = (val*)(93l<<2|1); +var383 = (val*)((long)(0)<<2|3); +var384 = (val*)((long)(0)<<2|3); +var380 = core__flat___CString___to_s_unsafe(var379, var381, var382, var383, var384); +var378 = var380; +varonce377 = var378; } { -nitc___nitc__ModelBuilder___error(self, var_autoinit, var320); /* Direct call modelbuilder_base#ModelBuilder#error on */ +nitc___nitc__ModelBuilder___error(self, var_autoinit, var378); /* Direct call modelbuilder_base$ModelBuilder$error on */ } } else { } { -{ /* Inline parser_nodes#AAnnotation#n_args (var_autoinit) on */ -var325 = var_autoinit->attrs[COLOR_nitc__parser_nodes__AAnnotation___n_args].val; /* _n_args on */ -if (unlikely(var325 == NULL)) { +{ /* Inline parser_nodes$AAnnotation$n_args (var_autoinit) on */ +var387 = var_autoinit->attrs[COLOR_nitc__parser_nodes__AAnnotation___n_args].val; /* _n_args on */ +if (unlikely(var387 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_args"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 2926); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 3007); fatal_exit(1); } -var323 = var325; -RET_LABEL324:(void)0; +var385 = var387; +RET_LABEL386:(void)0; } } -var_326 = var323; +var_388 = var385; { -var327 = nitc___nitc__ANodes___core__abstract_collection__Collection__iterator(var_326); +var389 = nitc___nitc__ANodes___core__abstract_collection__Collection__iterator(var_388); } -var_328 = var327; +var_390 = var389; for(;;) { { -var329 = ((short int(*)(val* self))((((long)var_328&3)?class_info[((long)var_328&3)]:var_328->class)->vft[COLOR_core__abstract_collection__Iterator__is_ok]))(var_328); /* is_ok on */ +var391 = ((short int(*)(val* self))((((long)var_390&3)?class_info[((long)var_390&3)]:var_390->class)->vft[COLOR_core__abstract_collection__Iterator__is_ok]))(var_390); /* is_ok on */ } -if (var329){ +if (var391){ } else { -goto BREAK_label330; +goto BREAK_label392; } { -var331 = ((val*(*)(val* self))((((long)var_328&3)?class_info[((long)var_328&3)]:var_328->class)->vft[COLOR_core__abstract_collection__Iterator__item]))(var_328); /* item on */ +var393 = ((val*(*)(val* self))((((long)var_390&3)?class_info[((long)var_390&3)]:var_390->class)->vft[COLOR_core__abstract_collection__Iterator__item]))(var_390); /* item on */ } -var_narg = var331; +var_narg = var393; { -var332 = nitc__parser_work___AExpr___as_id(var_narg); +var394 = nitc__parser_work___AExpr___as_id(var_narg); } -var_id = var332; +var_id = var394; if (var_id == NULL) { -var333 = 1; /* is null */ +var395 = 1; /* is null */ } else { -var333 = 0; /* arg is null but recv is not */ +var395 = 0; /* arg is null but recv is not */ } if (0) { -var334 = ((short int(*)(val* self, val* p0))(var_id->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_id, ((val*)NULL)); /* == on */ -var333 = var334; +var396 = ((short int(*)(val* self, val* p0))(var_id->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_id, ((val*)NULL)); /* == on */ +var395 = var396; } -if (var333){ -if (likely(varonce335!=NULL)) { -var336 = varonce335; +if (var395){ +if (likely(varonce397!=NULL)) { +var398 = varonce397; } else { -var337 = "Syntax Error: `autoinit` expects method identifiers."; -var338 = core__flat___NativeString___to_s_full(var337, 52l, 52l); -var336 = var338; -varonce335 = var336; +var399 = "Syntax Error: `autoinit` expects method identifiers."; +var401 = (val*)(52l<<2|1); +var402 = (val*)(52l<<2|1); +var403 = (val*)((long)(0)<<2|3); +var404 = (val*)((long)(0)<<2|3); +var400 = core__flat___CString___to_s_unsafe(var399, var401, var402, var403, var404); +var398 = var400; +varonce397 = var398; } { -nitc___nitc__ModelBuilder___error(self, var_narg, var336); /* Direct call modelbuilder_base#ModelBuilder#error on */ +nitc___nitc__ModelBuilder___error(self, var_narg, var398); /* Direct call modelbuilder_base$ModelBuilder$error on */ } goto RET_LABEL; } else { } -if (likely(varonce339!=NULL)) { -var340 = varonce339; +if (likely(varonce405!=NULL)) { +var406 = varonce405; } else { -var341 = "="; -var342 = core__flat___NativeString___to_s_full(var341, 1l, 1l); -var340 = var342; -varonce339 = var340; +var407 = "="; +var409 = (val*)(1l<<2|1); +var410 = (val*)(1l<<2|1); +var411 = (val*)((long)(0)<<2|3); +var412 = (val*)((long)(0)<<2|3); +var408 = core__flat___CString___to_s_unsafe(var407, var409, var410, var411, var412); +var406 = var408; +varonce405 = var406; } { -var343 = ((val*(*)(val* self, val* p0))(var_id->class->vft[COLOR_core__abstract_text__String___43d]))(var_id, var340); /* + on */ +var413 = ((val*(*)(val* self, val* p0))(var_id->class->vft[COLOR_core__abstract_text__Text___43d]))(var_id, var406); /* + on */ } { -var344 = nitc___nitc__ModelBuilder___try_get_mproperty_by_name(self, var_narg, var_mclassdef, var343); +var414 = nitc___nitc__ModelBuilder___try_get_mproperty_by_name(self, var_narg, var_mclassdef, var413); } -var_p = var344; +var_p = var414; if (var_p == NULL) { -var345 = 1; /* is null */ +var415 = 1; /* is null */ } else { -var345 = 0; /* arg is null but recv is not */ +var415 = 0; /* arg is null but recv is not */ } if (0) { -{ /* Inline kernel#Object#== (var_p,((val*)NULL)) on */ +{ /* Inline kernel$Object$== (var_p,((val*)NULL)) on */ var_other = ((val*)NULL); { -{ /* Inline kernel#Object#is_same_instance (var_p,var_other) on */ -var350 = var_p == var_other; -var348 = var350; -goto RET_LABEL349; -RET_LABEL349:(void)0; +{ /* Inline kernel$Object$is_same_instance (var_p,var_other) on */ +var420 = var_p == var_other; +var418 = var420; +goto RET_LABEL419; +RET_LABEL419:(void)0; } } -var346 = var348; -goto RET_LABEL347; -RET_LABEL347:(void)0; +var416 = var418; +goto RET_LABEL417; +RET_LABEL417:(void)0; } -var345 = var346; +var415 = var416; } -if (var345){ +if (var415){ { -var351 = nitc___nitc__ModelBuilder___try_get_mproperty_by_name(self, var_narg, var_mclassdef, var_id); +var421 = nitc___nitc__ModelBuilder___try_get_mproperty_by_name(self, var_narg, var_mclassdef, var_id); } -var_p = var351; +var_p = var421; } else { } if (var_p == NULL) { -var352 = 1; /* is null */ +var422 = 1; /* is null */ } else { -var352 = 0; /* arg is null but recv is not */ +var422 = 0; /* arg is null but recv is not */ } if (0) { -{ /* Inline kernel#Object#== (var_p,((val*)NULL)) on */ +{ /* Inline kernel$Object$== (var_p,((val*)NULL)) on */ var_other = ((val*)NULL); { -{ /* Inline kernel#Object#is_same_instance (var_p,var_other) on */ -var357 = var_p == var_other; -var355 = var357; -goto RET_LABEL356; -RET_LABEL356:(void)0; +{ /* Inline kernel$Object$is_same_instance (var_p,var_other) on */ +var427 = var_p == var_other; +var425 = var427; +goto RET_LABEL426; +RET_LABEL426:(void)0; } } -var353 = var355; -goto RET_LABEL354; -RET_LABEL354:(void)0; +var423 = var425; +goto RET_LABEL424; +RET_LABEL424:(void)0; } -var352 = var353; +var422 = var423; } -if (var352){ -if (unlikely(varonce358==NULL)) { -var359 = NEW_core__NativeArray(3l, &type_core__NativeArray__core__String); -if (likely(varonce360!=NULL)) { -var361 = varonce360; +if (var422){ +if (unlikely(varonce428==NULL)) { +var429 = NEW_core__NativeArray((int)3l, &type_core__NativeArray__core__String); +if (likely(varonce430!=NULL)) { +var431 = varonce430; } else { -var362 = "Error: unknown method `"; -var363 = core__flat___NativeString___to_s_full(var362, 23l, 23l); -var361 = var363; -varonce360 = var361; +var432 = "Error: unknown method `"; +var434 = (val*)(23l<<2|1); +var435 = (val*)(23l<<2|1); +var436 = (val*)((long)(0)<<2|3); +var437 = (val*)((long)(0)<<2|3); +var433 = core__flat___CString___to_s_unsafe(var432, var434, var435, var436, var437); +var431 = var433; +varonce430 = var431; } -((struct instance_core__NativeArray*)var359)->values[0]=var361; -if (likely(varonce364!=NULL)) { -var365 = varonce364; +((struct instance_core__NativeArray*)var429)->values[0]=var431; +if (likely(varonce438!=NULL)) { +var439 = varonce438; } else { -var366 = "`"; -var367 = core__flat___NativeString___to_s_full(var366, 1l, 1l); -var365 = var367; -varonce364 = var365; +var440 = "`"; +var442 = (val*)(1l<<2|1); +var443 = (val*)(1l<<2|1); +var444 = (val*)((long)(0)<<2|3); +var445 = (val*)((long)(0)<<2|3); +var441 = core__flat___CString___to_s_unsafe(var440, var442, var443, var444, var445); +var439 = var441; +varonce438 = var439; } -((struct instance_core__NativeArray*)var359)->values[2]=var365; +((struct instance_core__NativeArray*)var429)->values[2]=var439; } else { -var359 = varonce358; -varonce358 = NULL; +var429 = varonce428; +varonce428 = NULL; } -((struct instance_core__NativeArray*)var359)->values[1]=var_id; +((struct instance_core__NativeArray*)var429)->values[1]=var_id; { -var368 = ((val*(*)(val* self))(var359->class->vft[COLOR_core__abstract_text__NativeArray__native_to_s]))(var359); /* native_to_s on */ +var446 = ((val*(*)(val* self))(var429->class->vft[COLOR_core__abstract_text__NativeArray__native_to_s]))(var429); /* native_to_s on */ } -varonce358 = var359; +varonce428 = var429; { -nitc___nitc__ModelBuilder___error(self, var_narg, var368); /* Direct call modelbuilder_base#ModelBuilder#error on */ +nitc___nitc__ModelBuilder___error(self, var_narg, var446); /* Direct call modelbuilder_base$ModelBuilder$error on */ } goto RET_LABEL; } else { } { -{ /* Inline model#MProperty#is_autoinit (var_p) on */ -var371 = var_p->attrs[COLOR_nitc__model__MProperty___is_autoinit].s; /* _is_autoinit on */ -var369 = var371; -RET_LABEL370:(void)0; +{ /* Inline model$MProperty$is_autoinit (var_p) on */ +var449 = var_p->attrs[COLOR_nitc__model__MProperty___is_autoinit].s; /* _is_autoinit on */ +var447 = var449; +RET_LABEL448:(void)0; } } -var372 = !var369; -if (var372){ -if (unlikely(varonce373==NULL)) { -var374 = NEW_core__NativeArray(3l, &type_core__NativeArray__core__String); -if (likely(varonce375!=NULL)) { -var376 = varonce375; +var450 = !var447; +if (var450){ +if (unlikely(varonce451==NULL)) { +var452 = NEW_core__NativeArray((int)3l, &type_core__NativeArray__core__String); +if (likely(varonce453!=NULL)) { +var454 = varonce453; } else { -var377 = "Error: `"; -var378 = core__flat___NativeString___to_s_full(var377, 8l, 8l); -var376 = var378; -varonce375 = var376; +var455 = "Error: `"; +var457 = (val*)(8l<<2|1); +var458 = (val*)(8l<<2|1); +var459 = (val*)((long)(0)<<2|3); +var460 = (val*)((long)(0)<<2|3); +var456 = core__flat___CString___to_s_unsafe(var455, var457, var458, var459, var460); +var454 = var456; +varonce453 = var454; } -((struct instance_core__NativeArray*)var374)->values[0]=var376; -if (likely(varonce379!=NULL)) { -var380 = varonce379; +((struct instance_core__NativeArray*)var452)->values[0]=var454; +if (likely(varonce461!=NULL)) { +var462 = varonce461; } else { -var381 = "` is not an autoinit method"; -var382 = core__flat___NativeString___to_s_full(var381, 27l, 27l); -var380 = var382; -varonce379 = var380; +var463 = "` is not an autoinit method"; +var465 = (val*)(27l<<2|1); +var466 = (val*)(27l<<2|1); +var467 = (val*)((long)(0)<<2|3); +var468 = (val*)((long)(0)<<2|3); +var464 = core__flat___CString___to_s_unsafe(var463, var465, var466, var467, var468); +var462 = var464; +varonce461 = var462; } -((struct instance_core__NativeArray*)var374)->values[2]=var380; +((struct instance_core__NativeArray*)var452)->values[2]=var462; } else { -var374 = varonce373; -varonce373 = NULL; +var452 = varonce451; +varonce451 = NULL; } { -var383 = ((val*(*)(val* self))(var_p->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_p); /* to_s on */ +var469 = ((val*(*)(val* self))(var_p->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_p); /* to_s on */ } -((struct instance_core__NativeArray*)var374)->values[1]=var383; +((struct instance_core__NativeArray*)var452)->values[1]=var469; { -var384 = ((val*(*)(val* self))(var374->class->vft[COLOR_core__abstract_text__NativeArray__native_to_s]))(var374); /* native_to_s on */ +var470 = ((val*(*)(val* self))(var452->class->vft[COLOR_core__abstract_text__NativeArray__native_to_s]))(var452); /* native_to_s on */ } -varonce373 = var374; +varonce451 = var452; { -nitc___nitc__ModelBuilder___error(self, var_narg, var384); /* Direct call modelbuilder_base#ModelBuilder#error on */ +nitc___nitc__ModelBuilder___error(self, var_narg, var470); /* Direct call modelbuilder_base$ModelBuilder$error on */ } goto RET_LABEL; } else { } { -core___core__Array___core__abstract_collection__SimpleCollection__add(var_initializers, var_p); /* Direct call array#Array#add on */ +core___core__Array___core__abstract_collection__SimpleCollection__add(var_initializers, var_p); /* Direct call array$Array$add on */ } { -{ /* Inline model#MProperty#intro (var_p) on */ -var387 = var_p->attrs[COLOR_nitc__model__MProperty___intro].val; /* _intro on */ -if (unlikely(var387 == NULL)) { +{ /* Inline model$MProperty$intro (var_p) on */ +var473 = var_p->attrs[COLOR_nitc__model__MProperty___intro].val; /* _intro on */ +if (unlikely(var473 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _intro"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 1986); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2097); fatal_exit(1); } -var385 = var387; -RET_LABEL386:(void)0; +var471 = var473; +RET_LABEL472:(void)0; } } -var_pd = var385; +var_pd = var471; /* isa MMethodDef */ -cltype389 = type_nitc__MMethodDef.color; -idtype390 = type_nitc__MMethodDef.id; -if(cltype389 >= var_pd->type->table_size) { -var388 = 0; +cltype475 = type_nitc__MMethodDef.color; +idtype476 = type_nitc__MMethodDef.id; +if(cltype475 >= var_pd->type->table_size) { +var474 = 0; } else { -var388 = var_pd->type->type_table[cltype389] == idtype390; +var474 = var_pd->type->type_table[cltype475] == idtype476; } -if (var388){ +if (var474){ { -{ /* Inline model#MMethodDef#msignature (var_pd) on */ -var393 = var_pd->attrs[COLOR_nitc__model__MMethodDef___msignature].val; /* _msignature on */ -var391 = var393; -RET_LABEL392:(void)0; +{ /* Inline model$MMethodDef$msignature (var_pd) on */ +var479 = var_pd->attrs[COLOR_nitc__model__MMethodDef___msignature].val; /* _msignature on */ +var477 = var479; +RET_LABEL478:(void)0; } } { -{ /* Inline model#MClassDef#mclass (var_mclassdef) on */ -var396 = var_mclassdef->attrs[COLOR_nitc__model__MClassDef___mclass].val; /* _mclass on */ -if (unlikely(var396 == NULL)) { +{ /* Inline model$MClassDef$mclass (var_mclassdef) on */ +var482 = var_mclassdef->attrs[COLOR_nitc__model__MClassDef___mclass].val; /* _mclass on */ +if (unlikely(var482 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclass"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 576); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 591); fatal_exit(1); } -var394 = var396; -RET_LABEL395:(void)0; +var480 = var482; +RET_LABEL481:(void)0; } } { -{ /* Inline model#MClass#mclass_type (var394) on */ -var399 = var394->attrs[COLOR_nitc__model__MClass___mclass_type].val; /* _mclass_type on */ -if (unlikely(var399 == NULL)) { +{ /* Inline model$MClass$mclass_type (var480) on */ +var485 = var480->attrs[COLOR_nitc__model__MClass___mclass_type].val; /* _mclass_type on */ +if (unlikely(var485 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclass_type"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 507); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 520); fatal_exit(1); } -var397 = var399; -RET_LABEL398:(void)0; +var483 = var485; +RET_LABEL484:(void)0; } } { -{ /* Inline model#MClassDef#bound_mtype (var_mclassdef) on */ -var402 = var_mclassdef->attrs[COLOR_nitc__model__MClassDef___bound_mtype].val; /* _bound_mtype on */ -if (unlikely(var402 == NULL)) { +{ /* Inline model$MClassDef$bound_mtype (var_mclassdef) on */ +var488 = var_mclassdef->attrs[COLOR_nitc__model__MClassDef___bound_mtype].val; /* _bound_mtype on */ +if (unlikely(var488 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _bound_mtype"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 579); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 594); fatal_exit(1); } -var400 = var402; -RET_LABEL401:(void)0; +var486 = var488; +RET_LABEL487:(void)0; } } { -{ /* Inline model#MClassDef#mmodule (var_mclassdef) on */ -var405 = var_mclassdef->attrs[COLOR_nitc__model__MClassDef___mmodule].val; /* _mmodule on */ -if (unlikely(var405 == NULL)) { +{ /* Inline model$MClassDef$mmodule (var_mclassdef) on */ +var491 = var_mclassdef->attrs[COLOR_nitc__model__MClassDef___mmodule].val; /* _mmodule on */ +if (unlikely(var491 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mmodule"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 573); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 588); fatal_exit(1); } -var403 = var405; -RET_LABEL404:(void)0; +var489 = var491; +RET_LABEL490:(void)0; } } -if (var391 == NULL) { +if (var477 == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property, 280); fatal_exit(1); } else { -var406 = nitc___nitc__MSignature___MType__resolve_for(var391, var397, var400, var403, 0); +var492 = nitc___nitc__MSignature___MType__resolve_for(var477, var483, var486, var489, 0); } -var_sig407 = var406; +var_sig493 = var492; { -{ /* Inline model#MSignature#mparameters (var_sig407) on */ -var410 = var_sig407->attrs[COLOR_nitc__model__MSignature___mparameters].val; /* _mparameters on */ -if (unlikely(var410 == NULL)) { +{ /* Inline model$MSignature$mparameters (var_sig493) on */ +var496 = var_sig493->attrs[COLOR_nitc__model__MSignature___mparameters].val; /* _mparameters on */ +if (unlikely(var496 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mparameters"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 1783); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 1879); fatal_exit(1); } -var408 = var410; -RET_LABEL409:(void)0; +var494 = var496; +RET_LABEL495:(void)0; } } { -core___core__Array___core__abstract_collection__SimpleCollection__add_all(var_mparameters108, var408); /* Direct call array#Array#add_all on */ +core___core__Array___core__abstract_collection__SimpleCollection__add_all(var_mparameters126, var494); /* Direct call array$Array$add_all on */ } } else { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Aborted"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property, 284); fatal_exit(1); } { -((void(*)(val* self))((((long)var_328&3)?class_info[((long)var_328&3)]:var_328->class)->vft[COLOR_core__abstract_collection__Iterator__next]))(var_328); /* next on */ +((void(*)(val* self))((((long)var_390&3)?class_info[((long)var_390&3)]:var_390->class)->vft[COLOR_core__abstract_collection__Iterator__next]))(var_390); /* next on */ } } -BREAK_label330: (void)0; +BREAK_label392: (void)0; { -((void(*)(val* self))((((long)var_328&3)?class_info[((long)var_328&3)]:var_328->class)->vft[COLOR_core__abstract_collection__Iterator__finish]))(var_328); /* finish on */ +((void(*)(val* self))((((long)var_390&3)?class_info[((long)var_390&3)]:var_390->class)->vft[COLOR_core__abstract_collection__Iterator__finish]))(var_390); /* finish on */ } } else { { -var411 = core___core__SequenceRead___Collection__first(var_spropdefs); +var497 = core___core__SequenceRead___Collection__first(var_spropdefs); } -var_longest = var411; +var_longest = var497; { -{ /* Inline array#AbstractArrayRead#length (var_spropdefs) on */ -var414 = var_spropdefs->attrs[COLOR_core__array__AbstractArrayRead___length].l; /* _length on */ -var412 = var414; -RET_LABEL413:(void)0; +{ /* Inline array$AbstractArrayRead$length (var_spropdefs) on */ +var500 = var_spropdefs->attrs[COLOR_core__array__AbstractArrayRead___length].l; /* _length on */ +var498 = var500; +RET_LABEL499:(void)0; } } { -{ /* Inline kernel#Int#> (var412,1l) on */ +{ /* Inline kernel$Int$> (var498,1l) on */ /* Covariant cast for argument 0 (i) <1l:Int> isa OTHER */ /* <1l:Int> isa OTHER */ -var417 = 1; /* easy <1l:Int> isa OTHER*/ -if (unlikely(!var417)) { +var503 = 1; /* easy <1l:Int> isa OTHER*/ +if (unlikely(!var503)) { var_class_name = type_core__Int.name; PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel, 730); +PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel, 727); fatal_exit(1); } -var420 = var412 > 1l; -var415 = var420; -goto RET_LABEL416; -RET_LABEL416:(void)0; +var506 = var498 > 1l; +var501 = var506; +goto RET_LABEL502; +RET_LABEL502:(void)0; } } -if (var415){ -var_421 = var_spropdefs; +if (var501){ +var_507 = var_spropdefs; { -var422 = core___core__AbstractArrayRead___core__abstract_collection__Collection__iterator(var_421); +var508 = core___core__AbstractArrayRead___core__abstract_collection__Collection__iterator(var_507); } -var_423 = var422; +var_509 = var508; for(;;) { { -var424 = ((short int(*)(val* self))((((long)var_423&3)?class_info[((long)var_423&3)]:var_423->class)->vft[COLOR_core__abstract_collection__Iterator__is_ok]))(var_423); /* is_ok on */ +var510 = ((short int(*)(val* self))((((long)var_509&3)?class_info[((long)var_509&3)]:var_509->class)->vft[COLOR_core__abstract_collection__Iterator__is_ok]))(var_509); /* is_ok on */ } -if (var424){ +if (var510){ } else { -goto BREAK_label425; +goto BREAK_label511; } { -var426 = ((val*(*)(val* self))((((long)var_423&3)?class_info[((long)var_423&3)]:var_423->class)->vft[COLOR_core__abstract_collection__Iterator__item]))(var_423); /* item on */ +var512 = ((val*(*)(val* self))((((long)var_509&3)?class_info[((long)var_509&3)]:var_509->class)->vft[COLOR_core__abstract_collection__Iterator__item]))(var_509); /* item on */ } -var_spd = var426; +var_spd = var512; { -{ /* Inline model#MMethodDef#initializers (var_spd) on */ -var429 = var_spd->attrs[COLOR_nitc__model__MMethodDef___initializers].val; /* _initializers on */ -if (unlikely(var429 == NULL)) { +{ /* Inline model$MMethodDef$initializers (var_spd) on */ +var515 = var_spd->attrs[COLOR_nitc__model__MMethodDef___initializers].val; /* _initializers on */ +if (unlikely(var515 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _initializers"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2363); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2492); fatal_exit(1); } -var427 = var429; -RET_LABEL428:(void)0; +var513 = var515; +RET_LABEL514:(void)0; } } { -{ /* Inline array#AbstractArrayRead#length (var427) on */ -var432 = var427->attrs[COLOR_core__array__AbstractArrayRead___length].l; /* _length on */ -var430 = var432; -RET_LABEL431:(void)0; +{ /* Inline array$AbstractArrayRead$length (var513) on */ +var518 = var513->attrs[COLOR_core__array__AbstractArrayRead___length].l; /* _length on */ +var516 = var518; +RET_LABEL517:(void)0; } } { -{ /* Inline model#MMethodDef#initializers (var_longest) on */ -var435 = var_longest->attrs[COLOR_nitc__model__MMethodDef___initializers].val; /* _initializers on */ -if (unlikely(var435 == NULL)) { +{ /* Inline model$MMethodDef$initializers (var_longest) on */ +var521 = var_longest->attrs[COLOR_nitc__model__MMethodDef___initializers].val; /* _initializers on */ +if (unlikely(var521 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _initializers"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2363); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2492); fatal_exit(1); } -var433 = var435; -RET_LABEL434:(void)0; +var519 = var521; +RET_LABEL520:(void)0; } } { -{ /* Inline array#AbstractArrayRead#length (var433) on */ -var438 = var433->attrs[COLOR_core__array__AbstractArrayRead___length].l; /* _length on */ -var436 = var438; -RET_LABEL437:(void)0; +{ /* Inline array$AbstractArrayRead$length (var519) on */ +var524 = var519->attrs[COLOR_core__array__AbstractArrayRead___length].l; /* _length on */ +var522 = var524; +RET_LABEL523:(void)0; } } { -{ /* Inline kernel#Int#> (var430,var436) on */ -/* Covariant cast for argument 0 (i) isa OTHER */ -/* isa OTHER */ -var441 = 1; /* easy isa OTHER*/ -if (unlikely(!var441)) { -var_class_name444 = type_core__Int.name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name444); -PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel, 730); +{ /* Inline kernel$Int$> (var516,var522) on */ +/* Covariant cast for argument 0 (i) isa OTHER */ +/* isa OTHER */ +var527 = 1; /* easy isa OTHER*/ +if (unlikely(!var527)) { +var_class_name530 = type_core__Int.name; +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name530); +PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel, 727); fatal_exit(1); } -var445 = var430 > var436; -var439 = var445; -goto RET_LABEL440; -RET_LABEL440:(void)0; +var531 = var516 > var522; +var525 = var531; +goto RET_LABEL526; +RET_LABEL526:(void)0; } } -if (var439){ +if (var525){ var_longest = var_spd; } else { } { -((void(*)(val* self))((((long)var_423&3)?class_info[((long)var_423&3)]:var_423->class)->vft[COLOR_core__abstract_collection__Iterator__next]))(var_423); /* next on */ +((void(*)(val* self))((((long)var_509&3)?class_info[((long)var_509&3)]:var_509->class)->vft[COLOR_core__abstract_collection__Iterator__next]))(var_509); /* next on */ } } -BREAK_label425: (void)0; +BREAK_label511: (void)0; { -((void(*)(val* self))((((long)var_423&3)?class_info[((long)var_423&3)]:var_423->class)->vft[COLOR_core__abstract_collection__Iterator__finish]))(var_423); /* finish on */ +((void(*)(val* self))((((long)var_509&3)?class_info[((long)var_509&3)]:var_509->class)->vft[COLOR_core__abstract_collection__Iterator__finish]))(var_509); /* finish on */ } if (var_noautoinit == NULL) { -var446 = 1; /* is null */ +var532 = 1; /* is null */ } else { -var446 = 0; /* arg is null but recv is not */ +var532 = 0; /* arg is null but recv is not */ } if (0) { -{ /* Inline kernel#Object#== (var_noautoinit,((val*)NULL)) on */ +{ /* Inline kernel$Object$== (var_noautoinit,((val*)NULL)) on */ var_other = ((val*)NULL); { -{ /* Inline kernel#Object#is_same_instance (var_noautoinit,var_other) on */ -var451 = var_noautoinit == var_other; -var449 = var451; -goto RET_LABEL450; -RET_LABEL450:(void)0; +{ /* Inline kernel$Object$is_same_instance (var_noautoinit,var_other) on */ +var537 = var_noautoinit == var_other; +var535 = var537; +goto RET_LABEL536; +RET_LABEL536:(void)0; } } -var447 = var449; -goto RET_LABEL448; -RET_LABEL448:(void)0; +var533 = var535; +goto RET_LABEL534; +RET_LABEL534:(void)0; } -var446 = var447; +var532 = var533; } -if (var446){ -var_452 = var_spropdefs; +if (var532){ +var_538 = var_spropdefs; { -var453 = core___core__AbstractArrayRead___core__abstract_collection__Collection__iterator(var_452); +var539 = core___core__AbstractArrayRead___core__abstract_collection__Collection__iterator(var_538); } -var_454 = var453; +var_540 = var539; for(;;) { { -var455 = ((short int(*)(val* self))((((long)var_454&3)?class_info[((long)var_454&3)]:var_454->class)->vft[COLOR_core__abstract_collection__Iterator__is_ok]))(var_454); /* is_ok on */ +var541 = ((short int(*)(val* self))((((long)var_540&3)?class_info[((long)var_540&3)]:var_540->class)->vft[COLOR_core__abstract_collection__Iterator__is_ok]))(var_540); /* is_ok on */ } -if (var455){ +if (var541){ } else { -goto BREAK_label456; +goto BREAK_label542; } { -var457 = ((val*(*)(val* self))((((long)var_454&3)?class_info[((long)var_454&3)]:var_454->class)->vft[COLOR_core__abstract_collection__Iterator__item]))(var_454); /* item on */ +var543 = ((val*(*)(val* self))((((long)var_540&3)?class_info[((long)var_540&3)]:var_540->class)->vft[COLOR_core__abstract_collection__Iterator__item]))(var_540); /* item on */ } -var_spd458 = var457; +var_spd544 = var543; var_i = 0l; { -{ /* Inline model#MMethodDef#initializers (var_spd458) on */ -var461 = var_spd458->attrs[COLOR_nitc__model__MMethodDef___initializers].val; /* _initializers on */ -if (unlikely(var461 == NULL)) { +{ /* Inline model$MMethodDef$initializers (var_spd544) on */ +var547 = var_spd544->attrs[COLOR_nitc__model__MMethodDef___initializers].val; /* _initializers on */ +if (unlikely(var547 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _initializers"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2363); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2492); fatal_exit(1); } -var459 = var461; -RET_LABEL460:(void)0; +var545 = var547; +RET_LABEL546:(void)0; } } -var_462 = var459; +var_548 = var545; { -var463 = core___core__AbstractArrayRead___core__abstract_collection__Collection__iterator(var_462); +var549 = core___core__AbstractArrayRead___core__abstract_collection__Collection__iterator(var_548); } -var_464 = var463; +var_550 = var549; for(;;) { { -var465 = ((short int(*)(val* self))((((long)var_464&3)?class_info[((long)var_464&3)]:var_464->class)->vft[COLOR_core__abstract_collection__Iterator__is_ok]))(var_464); /* is_ok on */ +var551 = ((short int(*)(val* self))((((long)var_550&3)?class_info[((long)var_550&3)]:var_550->class)->vft[COLOR_core__abstract_collection__Iterator__is_ok]))(var_550); /* is_ok on */ } -if (var465){ +if (var551){ } else { -goto BREAK_label466; +goto BREAK_label552; } { -var467 = ((val*(*)(val* self))((((long)var_464&3)?class_info[((long)var_464&3)]:var_464->class)->vft[COLOR_core__abstract_collection__Iterator__item]))(var_464); /* item on */ +var553 = ((val*(*)(val* self))((((long)var_550&3)?class_info[((long)var_550&3)]:var_550->class)->vft[COLOR_core__abstract_collection__Iterator__item]))(var_550); /* item on */ } -var_p468 = var467; +var_p554 = var553; { -{ /* Inline model#MMethodDef#initializers (var_longest) on */ -var471 = var_longest->attrs[COLOR_nitc__model__MMethodDef___initializers].val; /* _initializers on */ -if (unlikely(var471 == NULL)) { +{ /* Inline model$MMethodDef$initializers (var_longest) on */ +var557 = var_longest->attrs[COLOR_nitc__model__MMethodDef___initializers].val; /* _initializers on */ +if (unlikely(var557 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _initializers"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2363); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2492); fatal_exit(1); } -var469 = var471; -RET_LABEL470:(void)0; +var555 = var557; +RET_LABEL556:(void)0; } } { -var472 = core___core__Array___core__abstract_collection__SequenceRead___91d_93d(var469, var_i); +var558 = core___core__Array___core__abstract_collection__SequenceRead___91d_93d(var555, var_i); } { -{ /* Inline kernel#Object#!= (var_p468,var472) on */ -var_other189 = var472; +{ /* Inline kernel$Object$!= (var_p554,var558) on */ +var_other211 = var558; { -var475 = ((short int(*)(val* self, val* p0))(var_p468->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_p468, var_other189); /* == on */ +var561 = ((short int(*)(val* self, val* p0))(var_p554->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_p554, var_other211); /* == on */ } -var476 = !var475; -var473 = var476; -goto RET_LABEL474; -RET_LABEL474:(void)0; +var562 = !var561; +var559 = var562; +goto RET_LABEL560; +RET_LABEL560:(void)0; } } -if (var473){ -var477 = NEW_core__ArraySet(&type_core__ArraySet__nitc__MProperty); +if (var559){ +var563 = NEW_core__ArraySet(&type_core__ArraySet__nitc__MProperty); { -core___core__ArraySet___core__kernel__Object__init(var477); /* Direct call array#ArraySet#init on */ +core___core__ArraySet___core__kernel__Object__init(var563); /* Direct call array$ArraySet$init on */ } -var_proposal = var477; -var_478 = var_spropdefs; +var_proposal = var563; +var_564 = var_spropdefs; { -var479 = core___core__AbstractArrayRead___core__abstract_collection__Collection__iterator(var_478); +var565 = core___core__AbstractArrayRead___core__abstract_collection__Collection__iterator(var_564); } -var_480 = var479; +var_566 = var565; for(;;) { { -var481 = ((short int(*)(val* self))((((long)var_480&3)?class_info[((long)var_480&3)]:var_480->class)->vft[COLOR_core__abstract_collection__Iterator__is_ok]))(var_480); /* is_ok on */ +var567 = ((short int(*)(val* self))((((long)var_566&3)?class_info[((long)var_566&3)]:var_566->class)->vft[COLOR_core__abstract_collection__Iterator__is_ok]))(var_566); /* is_ok on */ } -if (var481){ +if (var567){ } else { -goto BREAK_label482; +goto BREAK_label568; } { -var483 = ((val*(*)(val* self))((((long)var_480&3)?class_info[((long)var_480&3)]:var_480->class)->vft[COLOR_core__abstract_collection__Iterator__item]))(var_480); /* item on */ +var569 = ((val*(*)(val* self))((((long)var_566&3)?class_info[((long)var_566&3)]:var_566->class)->vft[COLOR_core__abstract_collection__Iterator__item]))(var_566); /* item on */ } -var_spd2 = var483; +var_spd2 = var569; { -{ /* Inline model#MMethodDef#initializers (var_spd2) on */ -var486 = var_spd2->attrs[COLOR_nitc__model__MMethodDef___initializers].val; /* _initializers on */ -if (unlikely(var486 == NULL)) { +{ /* Inline model$MMethodDef$initializers (var_spd2) on */ +var572 = var_spd2->attrs[COLOR_nitc__model__MMethodDef___initializers].val; /* _initializers on */ +if (unlikely(var572 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _initializers"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2363); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2492); fatal_exit(1); } -var484 = var486; -RET_LABEL485:(void)0; +var570 = var572; +RET_LABEL571:(void)0; } } { -core___core__SimpleCollection___add_all(var_proposal, var484); /* Direct call abstract_collection#SimpleCollection#add_all on */ +core___core__SimpleCollection___add_all(var_proposal, var570); /* Direct call abstract_collection$SimpleCollection$add_all on */ } { -((void(*)(val* self))((((long)var_480&3)?class_info[((long)var_480&3)]:var_480->class)->vft[COLOR_core__abstract_collection__Iterator__next]))(var_480); /* next on */ +((void(*)(val* self))((((long)var_566&3)?class_info[((long)var_566&3)]:var_566->class)->vft[COLOR_core__abstract_collection__Iterator__next]))(var_566); /* next on */ } } -BREAK_label482: (void)0; +BREAK_label568: (void)0; { -((void(*)(val* self))((((long)var_480&3)?class_info[((long)var_480&3)]:var_480->class)->vft[COLOR_core__abstract_collection__Iterator__finish]))(var_480); /* finish on */ +((void(*)(val* self))((((long)var_566&3)?class_info[((long)var_566&3)]:var_566->class)->vft[COLOR_core__abstract_collection__Iterator__finish]))(var_566); /* finish on */ } { -core___core__SimpleCollection___add_all(var_proposal, var_initializers); /* Direct call abstract_collection#SimpleCollection#add_all on */ -} -if (unlikely(varonce487==NULL)) { -var488 = NEW_core__NativeArray(13l, &type_core__NativeArray__core__String); -if (likely(varonce489!=NULL)) { -var490 = varonce489; -} else { -var491 = "Error: cannot generate automatic init for class "; -var492 = core__flat___NativeString___to_s_full(var491, 48l, 48l); -var490 = var492; -varonce489 = var490; -} -((struct instance_core__NativeArray*)var488)->values[0]=var490; -if (likely(varonce493!=NULL)) { -var494 = varonce493; -} else { -var495 = ". Conflict in the order in inherited initializers "; -var496 = core__flat___NativeString___to_s_full(var495, 50l, 50l); -var494 = var496; -varonce493 = var494; -} -((struct instance_core__NativeArray*)var488)->values[2]=var494; -if (likely(varonce497!=NULL)) { -var498 = varonce497; -} else { -var499 = "("; -var500 = core__flat___NativeString___to_s_full(var499, 1l, 1l); -var498 = var500; -varonce497 = var498; -} -((struct instance_core__NativeArray*)var488)->values[4]=var498; -if (likely(varonce501!=NULL)) { -var502 = varonce501; -} else { -var503 = ") and "; -var504 = core__flat___NativeString___to_s_full(var503, 6l, 6l); -var502 = var504; -varonce501 = var502; -} -((struct instance_core__NativeArray*)var488)->values[6]=var502; -if (likely(varonce505!=NULL)) { -var506 = varonce505; -} else { -var507 = "("; -var508 = core__flat___NativeString___to_s_full(var507, 1l, 1l); -var506 = var508; -varonce505 = var506; +core___core__SimpleCollection___add_all(var_proposal, var_initializers); /* Direct call abstract_collection$SimpleCollection$add_all on */ } -((struct instance_core__NativeArray*)var488)->values[8]=var506; -if (likely(varonce509!=NULL)) { -var510 = varonce509; +if (unlikely(varonce573==NULL)) { +var574 = NEW_core__NativeArray((int)13l, &type_core__NativeArray__core__String); +if (likely(varonce575!=NULL)) { +var576 = varonce575; } else { -var511 = "). Use `autoinit` to order initializers. eg `autoinit "; -var512 = core__flat___NativeString___to_s_full(var511, 54l, 54l); -var510 = var512; -varonce509 = var510; +var577 = "Error: cannot generate automatic init for class "; +var579 = (val*)(48l<<2|1); +var580 = (val*)(48l<<2|1); +var581 = (val*)((long)(0)<<2|3); +var582 = (val*)((long)(0)<<2|3); +var578 = core__flat___CString___to_s_unsafe(var577, var579, var580, var581, var582); +var576 = var578; +varonce575 = var576; } -((struct instance_core__NativeArray*)var488)->values[10]=var510; -if (likely(varonce513!=NULL)) { -var514 = varonce513; +((struct instance_core__NativeArray*)var574)->values[0]=var576; +if (likely(varonce583!=NULL)) { +var584 = varonce583; } else { -var515 = "`"; -var516 = core__flat___NativeString___to_s_full(var515, 1l, 1l); -var514 = var516; -varonce513 = var514; +var585 = ". Conflict in the order in inherited initializers "; +var587 = (val*)(50l<<2|1); +var588 = (val*)(50l<<2|1); +var589 = (val*)((long)(0)<<2|3); +var590 = (val*)((long)(0)<<2|3); +var586 = core__flat___CString___to_s_unsafe(var585, var587, var588, var589, var590); +var584 = var586; +varonce583 = var584; +} +((struct instance_core__NativeArray*)var574)->values[2]=var584; +if (likely(varonce591!=NULL)) { +var592 = varonce591; +} else { +var593 = "("; +var595 = (val*)(1l<<2|1); +var596 = (val*)(1l<<2|1); +var597 = (val*)((long)(0)<<2|3); +var598 = (val*)((long)(0)<<2|3); +var594 = core__flat___CString___to_s_unsafe(var593, var595, var596, var597, var598); +var592 = var594; +varonce591 = var592; +} +((struct instance_core__NativeArray*)var574)->values[4]=var592; +if (likely(varonce599!=NULL)) { +var600 = varonce599; +} else { +var601 = ") and "; +var603 = (val*)(6l<<2|1); +var604 = (val*)(6l<<2|1); +var605 = (val*)((long)(0)<<2|3); +var606 = (val*)((long)(0)<<2|3); +var602 = core__flat___CString___to_s_unsafe(var601, var603, var604, var605, var606); +var600 = var602; +varonce599 = var600; +} +((struct instance_core__NativeArray*)var574)->values[6]=var600; +if (likely(varonce607!=NULL)) { +var608 = varonce607; +} else { +var609 = "("; +var611 = (val*)(1l<<2|1); +var612 = (val*)(1l<<2|1); +var613 = (val*)((long)(0)<<2|3); +var614 = (val*)((long)(0)<<2|3); +var610 = core__flat___CString___to_s_unsafe(var609, var611, var612, var613, var614); +var608 = var610; +varonce607 = var608; +} +((struct instance_core__NativeArray*)var574)->values[8]=var608; +if (likely(varonce615!=NULL)) { +var616 = varonce615; +} else { +var617 = "). Use `autoinit` to order initializers. eg `autoinit "; +var619 = (val*)(54l<<2|1); +var620 = (val*)(54l<<2|1); +var621 = (val*)((long)(0)<<2|3); +var622 = (val*)((long)(0)<<2|3); +var618 = core__flat___CString___to_s_unsafe(var617, var619, var620, var621, var622); +var616 = var618; +varonce615 = var616; +} +((struct instance_core__NativeArray*)var574)->values[10]=var616; +if (likely(varonce623!=NULL)) { +var624 = varonce623; +} else { +var625 = "`"; +var627 = (val*)(1l<<2|1); +var628 = (val*)(1l<<2|1); +var629 = (val*)((long)(0)<<2|3); +var630 = (val*)((long)(0)<<2|3); +var626 = core__flat___CString___to_s_unsafe(var625, var627, var628, var629, var630); +var624 = var626; +varonce623 = var624; } -((struct instance_core__NativeArray*)var488)->values[12]=var514; +((struct instance_core__NativeArray*)var574)->values[12]=var624; } else { -var488 = varonce487; -varonce487 = NULL; +var574 = varonce573; +varonce573 = NULL; } { -{ /* Inline model#MClassDef#mclass (var_mclassdef) on */ -var519 = var_mclassdef->attrs[COLOR_nitc__model__MClassDef___mclass].val; /* _mclass on */ -if (unlikely(var519 == NULL)) { +{ /* Inline model$MClassDef$mclass (var_mclassdef) on */ +var633 = var_mclassdef->attrs[COLOR_nitc__model__MClassDef___mclass].val; /* _mclass on */ +if (unlikely(var633 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclass"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 576); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 591); fatal_exit(1); } -var517 = var519; -RET_LABEL518:(void)0; +var631 = var633; +RET_LABEL632:(void)0; } } { -var520 = ((val*(*)(val* self))(var517->class->vft[COLOR_core__abstract_text__Object__to_s]))(var517); /* to_s on */ +var634 = ((val*(*)(val* self))(var631->class->vft[COLOR_core__abstract_text__Object__to_s]))(var631); /* to_s on */ } -((struct instance_core__NativeArray*)var488)->values[1]=var520; +((struct instance_core__NativeArray*)var574)->values[1]=var634; { -var521 = ((val*(*)(val* self))(var_spd458->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_spd458); /* to_s on */ +var635 = ((val*(*)(val* self))(var_spd544->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_spd544); /* to_s on */ } -((struct instance_core__NativeArray*)var488)->values[3]=var521; +((struct instance_core__NativeArray*)var574)->values[3]=var635; { -{ /* Inline model#MMethodDef#initializers (var_spd458) on */ -var524 = var_spd458->attrs[COLOR_nitc__model__MMethodDef___initializers].val; /* _initializers on */ -if (unlikely(var524 == NULL)) { +{ /* Inline model$MMethodDef$initializers (var_spd544) on */ +var638 = var_spd544->attrs[COLOR_nitc__model__MMethodDef___initializers].val; /* _initializers on */ +if (unlikely(var638 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _initializers"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2363); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2492); fatal_exit(1); } -var522 = var524; -RET_LABEL523:(void)0; +var636 = var638; +RET_LABEL637:(void)0; } } -if (likely(varonce525!=NULL)) { -var526 = varonce525; +if (likely(varonce639!=NULL)) { +var640 = varonce639; } else { -var527 = ", "; -var528 = core__flat___NativeString___to_s_full(var527, 2l, 2l); -var526 = var528; -varonce525 = var526; +var641 = ", "; +var643 = (val*)(2l<<2|1); +var644 = (val*)(2l<<2|1); +var645 = (val*)((long)(0)<<2|3); +var646 = (val*)((long)(0)<<2|3); +var642 = core__flat___CString___to_s_unsafe(var641, var643, var644, var645, var646); +var640 = var642; +varonce639 = var640; } { -var529 = core__abstract_text___Collection___join(var522, var526); +var647 = core__abstract_text___Collection___join(var636, var640, ((val*)NULL)); } -((struct instance_core__NativeArray*)var488)->values[5]=var529; +((struct instance_core__NativeArray*)var574)->values[5]=var647; { -var530 = ((val*(*)(val* self))(var_longest->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_longest); /* to_s on */ +var648 = ((val*(*)(val* self))(var_longest->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_longest); /* to_s on */ } -((struct instance_core__NativeArray*)var488)->values[7]=var530; +((struct instance_core__NativeArray*)var574)->values[7]=var648; { -{ /* Inline model#MMethodDef#initializers (var_longest) on */ -var533 = var_longest->attrs[COLOR_nitc__model__MMethodDef___initializers].val; /* _initializers on */ -if (unlikely(var533 == NULL)) { +{ /* Inline model$MMethodDef$initializers (var_longest) on */ +var651 = var_longest->attrs[COLOR_nitc__model__MMethodDef___initializers].val; /* _initializers on */ +if (unlikely(var651 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _initializers"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2363); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2492); fatal_exit(1); } -var531 = var533; -RET_LABEL532:(void)0; +var649 = var651; +RET_LABEL650:(void)0; } } -if (likely(varonce534!=NULL)) { -var535 = varonce534; +if (likely(varonce652!=NULL)) { +var653 = varonce652; } else { -var536 = ", "; -var537 = core__flat___NativeString___to_s_full(var536, 2l, 2l); -var535 = var537; -varonce534 = var535; +var654 = ", "; +var656 = (val*)(2l<<2|1); +var657 = (val*)(2l<<2|1); +var658 = (val*)((long)(0)<<2|3); +var659 = (val*)((long)(0)<<2|3); +var655 = core__flat___CString___to_s_unsafe(var654, var656, var657, var658, var659); +var653 = var655; +varonce652 = var653; } { -var538 = core__abstract_text___Collection___join(var531, var535); +var660 = core__abstract_text___Collection___join(var649, var653, ((val*)NULL)); } -((struct instance_core__NativeArray*)var488)->values[9]=var538; -if (likely(varonce539!=NULL)) { -var540 = varonce539; +((struct instance_core__NativeArray*)var574)->values[9]=var660; +if (likely(varonce661!=NULL)) { +var662 = varonce661; } else { -var541 = ", "; -var542 = core__flat___NativeString___to_s_full(var541, 2l, 2l); -var540 = var542; -varonce539 = var540; +var663 = ", "; +var665 = (val*)(2l<<2|1); +var666 = (val*)(2l<<2|1); +var667 = (val*)((long)(0)<<2|3); +var668 = (val*)((long)(0)<<2|3); +var664 = core__flat___CString___to_s_unsafe(var663, var665, var666, var667, var668); +var662 = var664; +varonce661 = var662; } { -var543 = core__abstract_text___Collection___join(var_proposal, var540); +var669 = core__abstract_text___Collection___join(var_proposal, var662, ((val*)NULL)); } -((struct instance_core__NativeArray*)var488)->values[11]=var543; +((struct instance_core__NativeArray*)var574)->values[11]=var669; { -var544 = ((val*(*)(val* self))(var488->class->vft[COLOR_core__abstract_text__NativeArray__native_to_s]))(var488); /* native_to_s on */ +var670 = ((val*(*)(val* self))(var574->class->vft[COLOR_core__abstract_text__NativeArray__native_to_s]))(var574); /* native_to_s on */ } -varonce487 = var488; +varonce573 = var574; { -nitc___nitc__ModelBuilder___error(self, var_nclassdef, var544); /* Direct call modelbuilder_base#ModelBuilder#error on */ +nitc___nitc__ModelBuilder___error(self, var_nclassdef, var670); /* Direct call modelbuilder_base$ModelBuilder$error on */ } goto RET_LABEL; } else { } { -{ /* Inline kernel#Int#+ (var_i,1l) on */ +{ /* Inline kernel$Int$+ (var_i,1l) on */ /* Covariant cast for argument 0 (i) <1l:Int> isa OTHER */ /* <1l:Int> isa OTHER */ -var547 = 1; /* easy <1l:Int> isa OTHER*/ -if (unlikely(!var547)) { -var_class_name550 = type_core__Int.name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name550); -PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel, 731); +var673 = 1; /* easy <1l:Int> isa OTHER*/ +if (unlikely(!var673)) { +var_class_name676 = type_core__Int.name; +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name676); +PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel, 728); fatal_exit(1); } -var551 = var_i + 1l; -var545 = var551; -goto RET_LABEL546; -RET_LABEL546:(void)0; +var677 = var_i + 1l; +var671 = var677; +goto RET_LABEL672; +RET_LABEL672:(void)0; } } -var_i = var545; +var_i = var671; { -((void(*)(val* self))((((long)var_464&3)?class_info[((long)var_464&3)]:var_464->class)->vft[COLOR_core__abstract_collection__Iterator__next]))(var_464); /* next on */ +((void(*)(val* self))((((long)var_550&3)?class_info[((long)var_550&3)]:var_550->class)->vft[COLOR_core__abstract_collection__Iterator__next]))(var_550); /* next on */ } } -BREAK_label466: (void)0; +BREAK_label552: (void)0; { -((void(*)(val* self))((((long)var_464&3)?class_info[((long)var_464&3)]:var_464->class)->vft[COLOR_core__abstract_collection__Iterator__finish]))(var_464); /* finish on */ +((void(*)(val* self))((((long)var_550&3)?class_info[((long)var_550&3)]:var_550->class)->vft[COLOR_core__abstract_collection__Iterator__finish]))(var_550); /* finish on */ } { -((void(*)(val* self))((((long)var_454&3)?class_info[((long)var_454&3)]:var_454->class)->vft[COLOR_core__abstract_collection__Iterator__next]))(var_454); /* next on */ +((void(*)(val* self))((((long)var_540&3)?class_info[((long)var_540&3)]:var_540->class)->vft[COLOR_core__abstract_collection__Iterator__next]))(var_540); /* next on */ } } -BREAK_label456: (void)0; +BREAK_label542: (void)0; { -((void(*)(val* self))((((long)var_454&3)?class_info[((long)var_454&3)]:var_454->class)->vft[COLOR_core__abstract_collection__Iterator__finish]))(var_454); /* finish on */ +((void(*)(val* self))((((long)var_540&3)?class_info[((long)var_540&3)]:var_540->class)->vft[COLOR_core__abstract_collection__Iterator__finish]))(var_540); /* finish on */ } } else { } } else { } if (var_noautoinit == NULL) { -var552 = 0; /* is null */ +var678 = 0; /* is null */ } else { -var552 = 1; /* arg is null and recv is not */ +var678 = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_noautoinit,((val*)NULL)) on */ -var_other189 = ((val*)NULL); +{ /* Inline kernel$Object$!= (var_noautoinit,((val*)NULL)) on */ +var_other211 = ((val*)NULL); { -var555 = ((short int(*)(val* self, val* p0))(var_noautoinit->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_noautoinit, var_other189); /* == on */ +var681 = ((short int(*)(val* self, val* p0))(var_noautoinit->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_noautoinit, var_other211); /* == on */ } -var556 = !var555; -var553 = var556; -goto RET_LABEL554; -RET_LABEL554:(void)0; +var682 = !var681; +var679 = var682; +goto RET_LABEL680; +RET_LABEL680:(void)0; } -var552 = var553; +var678 = var679; } -if (var552){ +if (var678){ { -var558 = core___core__AbstractArrayRead___core__abstract_collection__Collection__is_empty(var_initializers); +var684 = core___core__AbstractArrayRead___core__abstract_collection__Collection__is_empty(var_initializers); } -var_559 = var558; -if (var558){ +var_685 = var684; +if (var684){ { -{ /* Inline model#MMethodDef#initializers (var_longest) on */ -var562 = var_longest->attrs[COLOR_nitc__model__MMethodDef___initializers].val; /* _initializers on */ -if (unlikely(var562 == NULL)) { +{ /* Inline model$MMethodDef$initializers (var_longest) on */ +var688 = var_longest->attrs[COLOR_nitc__model__MMethodDef___initializers].val; /* _initializers on */ +if (unlikely(var688 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _initializers"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2363); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2492); fatal_exit(1); } -var560 = var562; -RET_LABEL561:(void)0; +var686 = var688; +RET_LABEL687:(void)0; } } { -var563 = core___core__AbstractArrayRead___core__abstract_collection__Collection__is_empty(var560); +var689 = core___core__AbstractArrayRead___core__abstract_collection__Collection__is_empty(var686); } -var557 = var563; +var683 = var689; } else { -var557 = var_559; +var683 = var_685; } -if (var557){ -if (likely(varonce564!=NULL)) { -var565 = varonce564; +if (var683){ +if (likely(varonce690!=NULL)) { +var691 = varonce690; } else { -var566 = "useless-noautoinit"; -var567 = core__flat___NativeString___to_s_full(var566, 18l, 18l); -var565 = var567; -varonce564 = var565; +var692 = "useless-noautoinit"; +var694 = (val*)(18l<<2|1); +var695 = (val*)(18l<<2|1); +var696 = (val*)((long)(0)<<2|3); +var697 = (val*)((long)(0)<<2|3); +var693 = core__flat___CString___to_s_unsafe(var692, var694, var695, var696, var697); +var691 = var693; +varonce690 = var691; } -if (likely(varonce568!=NULL)) { -var569 = varonce568; +if (likely(varonce698!=NULL)) { +var699 = varonce698; } else { -var570 = "Warning: the list of autoinit is already empty."; -var571 = core__flat___NativeString___to_s_full(var570, 47l, 47l); -var569 = var571; -varonce568 = var569; +var700 = "Warning: the list of autoinit is already empty."; +var702 = (val*)(47l<<2|1); +var703 = (val*)(47l<<2|1); +var704 = (val*)((long)(0)<<2|3); +var705 = (val*)((long)(0)<<2|3); +var701 = core__flat___CString___to_s_unsafe(var700, var702, var703, var704, var705); +var699 = var701; +varonce698 = var699; } { -nitc___nitc__ModelBuilder___warning(self, var_noautoinit, var565, var569); /* Direct call modelbuilder_base#ModelBuilder#warning on */ +nitc___nitc__ModelBuilder___warning(self, var_noautoinit, var691, var699); /* Direct call modelbuilder_base$ModelBuilder$warning on */ } } else { } { -core___core__AbstractArray___core__abstract_collection__RemovableCollection__clear(var_mparameters108); /* Direct call array#AbstractArray#clear on */ +core___core__AbstractArray___core__abstract_collection__RemovableCollection__clear(var_mparameters126); /* Direct call array$AbstractArray$clear on */ } { -core___core__AbstractArray___core__abstract_collection__RemovableCollection__clear(var_initializers); /* Direct call array#AbstractArray#clear on */ +core___core__AbstractArray___core__abstract_collection__RemovableCollection__clear(var_initializers); /* Direct call array$AbstractArray$clear on */ } } else { { -{ /* Inline array#AbstractArrayRead#length (var_spropdefs) on */ -var576 = var_spropdefs->attrs[COLOR_core__array__AbstractArrayRead___length].l; /* _length on */ -var574 = var576; -RET_LABEL575:(void)0; +{ /* Inline array$AbstractArrayRead$length (var_spropdefs) on */ +var710 = var_spropdefs->attrs[COLOR_core__array__AbstractArrayRead___length].l; /* _length on */ +var708 = var710; +RET_LABEL709:(void)0; } } { -{ /* Inline kernel#Int#== (var574,1l) on */ -var579 = var574 == 1l; -var577 = var579; -goto RET_LABEL578; -RET_LABEL578:(void)0; +{ /* Inline kernel$Int$== (var708,1l) on */ +var713 = var708 == 1l; +var711 = var713; +goto RET_LABEL712; +RET_LABEL712:(void)0; } } -var_580 = var577; -if (var577){ +var_714 = var711; +if (var711){ { -var581 = core___core__AbstractArrayRead___core__abstract_collection__Collection__is_empty(var_mparameters108); +var715 = core___core__AbstractArrayRead___core__abstract_collection__Collection__is_empty(var_mparameters126); } -var573 = var581; +var707 = var715; } else { -var573 = var_580; +var707 = var_714; } -var_582 = var573; -if (var573){ +var_716 = var707; +if (var707){ if (var_defined_init == NULL) { -var583 = 1; /* is null */ +var717 = 1; /* is null */ } else { -var583 = 0; /* arg is null but recv is not */ +var717 = 0; /* arg is null but recv is not */ } if (0) { -{ /* Inline kernel#Object#== (var_defined_init,((val*)NULL)) on */ +{ /* Inline kernel$Object$== (var_defined_init,((val*)NULL)) on */ var_other = ((val*)NULL); { -{ /* Inline kernel#Object#is_same_instance (var_defined_init,var_other) on */ -var588 = var_defined_init == var_other; -var586 = var588; -goto RET_LABEL587; -RET_LABEL587:(void)0; +{ /* Inline kernel$Object$is_same_instance (var_defined_init,var_other) on */ +var722 = var_defined_init == var_other; +var720 = var722; +goto RET_LABEL721; +RET_LABEL721:(void)0; } } -var584 = var586; -goto RET_LABEL585; -RET_LABEL585:(void)0; +var718 = var720; +goto RET_LABEL719; +RET_LABEL719:(void)0; } -var583 = var584; +var717 = var718; } -var572 = var583; +var706 = var717; } else { -var572 = var_582; +var706 = var_716; } -if (var572){ +if (var706){ { -{ /* Inline modelbuilder_base#ModelBuilder#toolcontext (self) on */ -var591 = self->attrs[COLOR_nitc__modelbuilder_base__ModelBuilder___toolcontext].val; /* _toolcontext on */ -if (unlikely(var591 == NULL)) { +{ /* Inline modelbuilder_base$ModelBuilder$toolcontext (self) on */ +var725 = self->attrs[COLOR_nitc__modelbuilder_base__ModelBuilder___toolcontext].val; /* _toolcontext on */ +if (unlikely(var725 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _toolcontext"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelbuilder_base, 47); fatal_exit(1); } -var589 = var591; -RET_LABEL590:(void)0; +var723 = var725; +RET_LABEL724:(void)0; } } -if (unlikely(varonce592==NULL)) { -var593 = NEW_core__NativeArray(3l, &type_core__NativeArray__core__String); -if (likely(varonce594!=NULL)) { -var595 = varonce594; +if (unlikely(varonce726==NULL)) { +var727 = NEW_core__NativeArray((int)3l, &type_core__NativeArray__core__String); +if (likely(varonce728!=NULL)) { +var729 = varonce728; } else { -var596 = " inherits the basic constructor "; -var597 = core__flat___NativeString___to_s_full(var596, 32l, 32l); -var595 = var597; -varonce594 = var595; +var730 = " inherits the basic constructor "; +var732 = (val*)(32l<<2|1); +var733 = (val*)(32l<<2|1); +var734 = (val*)((long)(0)<<2|3); +var735 = (val*)((long)(0)<<2|3); +var731 = core__flat___CString___to_s_unsafe(var730, var732, var733, var734, var735); +var729 = var731; +varonce728 = var729; } -((struct instance_core__NativeArray*)var593)->values[1]=var595; +((struct instance_core__NativeArray*)var727)->values[1]=var729; } else { -var593 = varonce592; -varonce592 = NULL; +var727 = varonce726; +varonce726 = NULL; } { -var598 = ((val*(*)(val* self))(var_mclassdef->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_mclassdef); /* to_s on */ +var736 = ((val*(*)(val* self))(var_mclassdef->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_mclassdef); /* to_s on */ } -((struct instance_core__NativeArray*)var593)->values[0]=var598; +((struct instance_core__NativeArray*)var727)->values[0]=var736; { -var599 = ((val*(*)(val* self))(var_longest->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_longest); /* to_s on */ +var737 = ((val*(*)(val* self))(var_longest->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_longest); /* to_s on */ } -((struct instance_core__NativeArray*)var593)->values[2]=var599; +((struct instance_core__NativeArray*)var727)->values[2]=var737; { -var600 = ((val*(*)(val* self))(var593->class->vft[COLOR_core__abstract_text__NativeArray__native_to_s]))(var593); /* native_to_s on */ +var738 = ((val*(*)(val* self))(var727->class->vft[COLOR_core__abstract_text__NativeArray__native_to_s]))(var727); /* native_to_s on */ } -varonce592 = var593; +varonce726 = var727; { -nitc___nitc__ToolContext___info(var589, var600, 3l); /* Direct call toolcontext#ToolContext#info on */ +nitc___nitc__ToolContext___info(var723, var738, 3l); /* Direct call toolcontext$ToolContext$info on */ } { -{ /* Inline model#MClassDef#mclass (var_mclassdef) on */ -var603 = var_mclassdef->attrs[COLOR_nitc__model__MClassDef___mclass].val; /* _mclass on */ -if (unlikely(var603 == NULL)) { +{ /* Inline model$MClassDef$mclass (var_mclassdef) on */ +var741 = var_mclassdef->attrs[COLOR_nitc__model__MClassDef___mclass].val; /* _mclass on */ +if (unlikely(var741 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclass"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 576); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 591); fatal_exit(1); } -var601 = var603; -RET_LABEL602:(void)0; +var739 = var741; +RET_LABEL740:(void)0; } } { -{ /* Inline modelize_property#MClass#root_init= (var601,var_longest) on */ -var601->attrs[COLOR_nitc__modelize_property__MClass___root_init].val = var_longest; /* _root_init on */ -RET_LABEL604:(void)0; +{ /* Inline modelize_property$MClass$root_init= (var739,var_longest) on */ +var739->attrs[COLOR_nitc__modelize_property__MClass___root_init].val = var_longest; /* _root_init on */ +RET_LABEL742:(void)0; } } goto RET_LABEL; } else { } { -{ /* Inline model#MMethodDef#initializers (var_longest) on */ -var607 = var_longest->attrs[COLOR_nitc__model__MMethodDef___initializers].val; /* _initializers on */ -if (unlikely(var607 == NULL)) { +{ /* Inline model$MMethodDef$initializers (var_longest) on */ +var745 = var_longest->attrs[COLOR_nitc__model__MMethodDef___initializers].val; /* _initializers on */ +if (unlikely(var745 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _initializers"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2363); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2492); fatal_exit(1); } -var605 = var607; -RET_LABEL606:(void)0; +var743 = var745; +RET_LABEL744:(void)0; } } { -{ /* Inline array#AbstractArrayRead#length (var605) on */ -var610 = var605->attrs[COLOR_core__array__AbstractArrayRead___length].l; /* _length on */ -var608 = var610; -RET_LABEL609:(void)0; +{ /* Inline array$AbstractArrayRead$length (var743) on */ +var748 = var743->attrs[COLOR_core__array__AbstractArrayRead___length].l; /* _length on */ +var746 = var748; +RET_LABEL747:(void)0; } } { -{ /* Inline kernel#Int#> (var608,0l) on */ +{ /* Inline kernel$Int$> (var746,0l) on */ /* Covariant cast for argument 0 (i) <0l:Int> isa OTHER */ /* <0l:Int> isa OTHER */ -var613 = 1; /* easy <0l:Int> isa OTHER*/ -if (unlikely(!var613)) { -var_class_name616 = type_core__Int.name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name616); -PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel, 730); +var751 = 1; /* easy <0l:Int> isa OTHER*/ +if (unlikely(!var751)) { +var_class_name754 = type_core__Int.name; +PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name754); +PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel, 727); fatal_exit(1); } -var617 = var608 > 0l; -var611 = var617; -goto RET_LABEL612; -RET_LABEL612:(void)0; +var755 = var746 > 0l; +var749 = var755; +goto RET_LABEL750; +RET_LABEL750:(void)0; } } -if (var611){ +if (var749){ { -{ /* Inline model#MMethodDef#new_msignature (var_longest) on */ -var620 = var_longest->attrs[COLOR_nitc__model__MMethodDef___new_msignature].val; /* _new_msignature on */ -var618 = var620; -RET_LABEL619:(void)0; +{ /* Inline model$MMethodDef$new_msignature (var_longest) on */ +var758 = var_longest->attrs[COLOR_nitc__model__MMethodDef___new_msignature].val; /* _new_msignature on */ +var756 = var758; +RET_LABEL757:(void)0; } } -if (var618 == NULL) { +if (var756 == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property, 335); fatal_exit(1); } else { -{ /* Inline model#MSignature#mparameters (var618) on */ -if (unlikely(var618 == NULL)) { +{ /* Inline model$MSignature$mparameters (var756) on */ +if (unlikely(var756 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 1783); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 1879); fatal_exit(1); } -var623 = var618->attrs[COLOR_nitc__model__MSignature___mparameters].val; /* _mparameters on */ -if (unlikely(var623 == NULL)) { +var761 = var756->attrs[COLOR_nitc__model__MSignature___mparameters].val; /* _mparameters on */ +if (unlikely(var761 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mparameters"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 1783); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 1879); fatal_exit(1); } -var621 = var623; -RET_LABEL622:(void)0; +var759 = var761; +RET_LABEL760:(void)0; } } { -core___core__Sequence___prepend(var_mparameters108, var621); /* Direct call abstract_collection#Sequence#prepend on */ +core___core__Sequence___prepend(var_mparameters126, var759); /* Direct call abstract_collection$Sequence$prepend on */ } { -{ /* Inline model#MMethodDef#initializers (var_longest) on */ -var626 = var_longest->attrs[COLOR_nitc__model__MMethodDef___initializers].val; /* _initializers on */ -if (unlikely(var626 == NULL)) { +{ /* Inline model$MMethodDef$initializers (var_longest) on */ +var764 = var_longest->attrs[COLOR_nitc__model__MMethodDef___initializers].val; /* _initializers on */ +if (unlikely(var764 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _initializers"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2363); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2492); fatal_exit(1); } -var624 = var626; -RET_LABEL625:(void)0; +var762 = var764; +RET_LABEL763:(void)0; } } { -core___core__Sequence___prepend(var_initializers, var624); /* Direct call abstract_collection#Sequence#prepend on */ +core___core__Sequence___prepend(var_initializers, var762); /* Direct call abstract_collection$Sequence$prepend on */ } } else { } } } if (var_defined_init == NULL) { -var627 = 0; /* is null */ +var765 = 0; /* is null */ } else { -var627 = 1; /* arg is null and recv is not */ +var765 = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_defined_init,((val*)NULL)) on */ -var_other189 = ((val*)NULL); +{ /* Inline kernel$Object$!= (var_defined_init,((val*)NULL)) on */ +var_other211 = ((val*)NULL); { -var630 = ((short int(*)(val* self, val* p0))(var_defined_init->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_defined_init, var_other189); /* == on */ +var768 = ((short int(*)(val* self, val* p0))(var_defined_init->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_defined_init, var_other211); /* == on */ } -var631 = !var630; -var628 = var631; -goto RET_LABEL629; -RET_LABEL629:(void)0; +var769 = !var768; +var766 = var769; +goto RET_LABEL767; +RET_LABEL767:(void)0; } -var627 = var628; +var765 = var766; } -if (var627){ +if (var765){ { -{ /* Inline model#MMethodDef#initializers (var_defined_init) on */ -var634 = var_defined_init->attrs[COLOR_nitc__model__MMethodDef___initializers].val; /* _initializers on */ -if (unlikely(var634 == NULL)) { +{ /* Inline model$MMethodDef$initializers (var_defined_init) on */ +var772 = var_defined_init->attrs[COLOR_nitc__model__MMethodDef___initializers].val; /* _initializers on */ +if (unlikely(var772 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _initializers"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2363); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2492); fatal_exit(1); } -var632 = var634; -RET_LABEL633:(void)0; +var770 = var772; +RET_LABEL771:(void)0; } } { -core___core__Array___core__abstract_collection__SimpleCollection__add_all(var632, var_initializers); /* Direct call array#Array#add_all on */ +core___core__Array___core__abstract_collection__SimpleCollection__add_all(var770, var_initializers); /* Direct call array$Array$add_all on */ } -var635 = NEW_nitc__MSignature(&type_nitc__MSignature); +var773 = NEW_nitc__MSignature(&type_nitc__MSignature); { -((void(*)(val* self, val* p0))(var635->class->vft[COLOR_nitc__model__MSignature__mparameters_61d]))(var635, var_mparameters108); /* mparameters= on */ +((void(*)(val* self, val* p0))(var773->class->vft[COLOR_nitc__model__MSignature__mparameters_61d]))(var773, var_mparameters126); /* mparameters= on */ } { -((void(*)(val* self, val* p0))(var635->class->vft[COLOR_nitc__model__MSignature__return_mtype_61d]))(var635, ((val*)NULL)); /* return_mtype= on */ +((void(*)(val* self, val* p0))(var773->class->vft[COLOR_nitc__model__MSignature__return_mtype_61d]))(var773, ((val*)NULL)); /* return_mtype= on */ } { -((void(*)(val* self))(var635->class->vft[COLOR_core__kernel__Object__init]))(var635); /* init on */ +((void(*)(val* self))(var773->class->vft[COLOR_core__kernel__Object__init]))(var773); /* init on */ } -var_msignature636 = var635; +var_msignature774 = var773; { -{ /* Inline model#MMethodDef#new_msignature= (var_defined_init,var_msignature636) on */ -var_defined_init->attrs[COLOR_nitc__model__MMethodDef___new_msignature].val = var_msignature636; /* _new_msignature on */ -RET_LABEL637:(void)0; +{ /* Inline model$MMethodDef$new_msignature= (var_defined_init,var_msignature774) on */ +var_defined_init->attrs[COLOR_nitc__model__MMethodDef___new_msignature].val = var_msignature774; /* _new_msignature on */ +RET_LABEL775:(void)0; } } { -{ /* Inline modelbuilder_base#ModelBuilder#toolcontext (self) on */ -var640 = self->attrs[COLOR_nitc__modelbuilder_base__ModelBuilder___toolcontext].val; /* _toolcontext on */ -if (unlikely(var640 == NULL)) { +{ /* Inline modelbuilder_base$ModelBuilder$toolcontext (self) on */ +var778 = self->attrs[COLOR_nitc__modelbuilder_base__ModelBuilder___toolcontext].val; /* _toolcontext on */ +if (unlikely(var778 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _toolcontext"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelbuilder_base, 47); fatal_exit(1); } -var638 = var640; -RET_LABEL639:(void)0; +var776 = var778; +RET_LABEL777:(void)0; } } -if (unlikely(varonce641==NULL)) { -var642 = NEW_core__NativeArray(4l, &type_core__NativeArray__core__String); -if (likely(varonce643!=NULL)) { -var644 = varonce643; +if (unlikely(varonce779==NULL)) { +var780 = NEW_core__NativeArray((int)4l, &type_core__NativeArray__core__String); +if (likely(varonce781!=NULL)) { +var782 = varonce781; } else { -var645 = " extends its basic constructor signature to "; -var646 = core__flat___NativeString___to_s_full(var645, 44l, 44l); -var644 = var646; -varonce643 = var644; +var783 = " extends its basic constructor signature to "; +var785 = (val*)(44l<<2|1); +var786 = (val*)(44l<<2|1); +var787 = (val*)((long)(0)<<2|3); +var788 = (val*)((long)(0)<<2|3); +var784 = core__flat___CString___to_s_unsafe(var783, var785, var786, var787, var788); +var782 = var784; +varonce781 = var782; } -((struct instance_core__NativeArray*)var642)->values[1]=var644; +((struct instance_core__NativeArray*)var780)->values[1]=var782; } else { -var642 = varonce641; -varonce641 = NULL; +var780 = varonce779; +varonce779 = NULL; } { -var647 = ((val*(*)(val* self))(var_mclassdef->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_mclassdef); /* to_s on */ +var789 = ((val*(*)(val* self))(var_mclassdef->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_mclassdef); /* to_s on */ } -((struct instance_core__NativeArray*)var642)->values[0]=var647; +((struct instance_core__NativeArray*)var780)->values[0]=var789; { -var648 = ((val*(*)(val* self))(var_defined_init->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_defined_init); /* to_s on */ +var790 = ((val*(*)(val* self))(var_defined_init->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_defined_init); /* to_s on */ } -((struct instance_core__NativeArray*)var642)->values[2]=var648; +((struct instance_core__NativeArray*)var780)->values[2]=var790; { -var649 = ((val*(*)(val* self))(var_msignature636->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_msignature636); /* to_s on */ +var791 = ((val*(*)(val* self))(var_msignature774->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_msignature774); /* to_s on */ } -((struct instance_core__NativeArray*)var642)->values[3]=var649; +((struct instance_core__NativeArray*)var780)->values[3]=var791; { -var650 = ((val*(*)(val* self))(var642->class->vft[COLOR_core__abstract_text__NativeArray__native_to_s]))(var642); /* native_to_s on */ +var792 = ((val*(*)(val* self))(var780->class->vft[COLOR_core__abstract_text__NativeArray__native_to_s]))(var780); /* native_to_s on */ } -varonce641 = var642; +varonce779 = var780; { -nitc___nitc__ToolContext___info(var638, var650, 3l); /* Direct call toolcontext#ToolContext#info on */ +nitc___nitc__ToolContext___info(var776, var792, 3l); /* Direct call toolcontext$ToolContext$info on */ } { -{ /* Inline model#MClassDef#mclass (var_mclassdef) on */ -var653 = var_mclassdef->attrs[COLOR_nitc__model__MClassDef___mclass].val; /* _mclass on */ -if (unlikely(var653 == NULL)) { +{ /* Inline model$MClassDef$mclass (var_mclassdef) on */ +var795 = var_mclassdef->attrs[COLOR_nitc__model__MClassDef___mclass].val; /* _mclass on */ +if (unlikely(var795 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclass"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 576); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 591); fatal_exit(1); } -var651 = var653; -RET_LABEL652:(void)0; +var793 = var795; +RET_LABEL794:(void)0; } } { -{ /* Inline modelize_property#MClass#root_init= (var651,var_defined_init) on */ -var651->attrs[COLOR_nitc__modelize_property__MClass___root_init].val = var_defined_init; /* _root_init on */ -RET_LABEL654:(void)0; +{ /* Inline modelize_property$MClass$root_init= (var793,var_defined_init) on */ +var793->attrs[COLOR_nitc__modelize_property__MClass___root_init].val = var_defined_init; /* _root_init on */ +RET_LABEL796:(void)0; } } goto RET_LABEL; } else { } -var_mprop655 = var_the_root_init_mmethod; -var656 = NEW_nitc__MMethodDef(&type_nitc__MMethodDef); +var_mprop797 = var_the_root_init_mmethod; +var798 = NEW_nitc__MMethodDef(&type_nitc__MMethodDef); { -{ /* Inline parser_nodes#ANode#location (var_nclassdef) on */ -var659 = var_nclassdef->attrs[COLOR_nitc__parser_nodes__ANode___location].val; /* _location on */ -if (unlikely(var659 == NULL)) { +{ /* Inline parser_nodes$ANode$location (var_nclassdef) on */ +var801 = var_nclassdef->attrs[COLOR_nitc__parser_nodes__ANode___location].val; /* _location on */ +if (unlikely(var801 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _location"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 24); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 25); fatal_exit(1); } -var657 = var659; -RET_LABEL658:(void)0; +var799 = var801; +RET_LABEL800:(void)0; } } { -((void(*)(val* self, val* p0))(var656->class->vft[COLOR_nitc__model__MPropDef__mclassdef_61d]))(var656, var_mclassdef); /* mclassdef= on */ +((void(*)(val* self, val* p0))(var798->class->vft[COLOR_nitc__model__MPropDef__mclassdef_61d]))(var798, var_mclassdef); /* mclassdef= on */ } { -((void(*)(val* self, val* p0))(var656->class->vft[COLOR_nitc__model__MPropDef__mproperty_61d]))(var656, var_mprop655); /* mproperty= on */ +((void(*)(val* self, val* p0))(var798->class->vft[COLOR_nitc__model__MPropDef__mproperty_61d]))(var798, var_mprop797); /* mproperty= on */ } { -((void(*)(val* self, val* p0))(var656->class->vft[COLOR_nitc__model__MPropDef__location_61d]))(var656, var657); /* location= on */ +((void(*)(val* self, val* p0))(var798->class->vft[COLOR_nitc__model__MPropDef__location_61d]))(var798, var799); /* location= on */ } { -((void(*)(val* self))(var656->class->vft[COLOR_core__kernel__Object__init]))(var656); /* init on */ +((void(*)(val* self))(var798->class->vft[COLOR_core__kernel__Object__init]))(var798); /* init on */ } -var_mpropdef660 = var656; +var_mpropdef802 = var798; { -{ /* Inline modelize_property#MPropDef#has_supercall= (var_mpropdef660,1) on */ -var_mpropdef660->attrs[COLOR_nitc__modelize_property__MPropDef___has_supercall].s = 1; /* _has_supercall on */ -RET_LABEL661:(void)0; +{ /* Inline modelize_property$MPropDef$has_supercall= (var_mpropdef802,1) on */ +var_mpropdef802->attrs[COLOR_nitc__modelize_property__MPropDef___has_supercall].s = 1; /* _has_supercall on */ +RET_LABEL803:(void)0; } } { -{ /* Inline model#MMethodDef#initializers (var_mpropdef660) on */ -var664 = var_mpropdef660->attrs[COLOR_nitc__model__MMethodDef___initializers].val; /* _initializers on */ -if (unlikely(var664 == NULL)) { +{ /* Inline model$MMethodDef$initializers (var_mpropdef802) on */ +var806 = var_mpropdef802->attrs[COLOR_nitc__model__MMethodDef___initializers].val; /* _initializers on */ +if (unlikely(var806 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _initializers"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2363); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2492); fatal_exit(1); } -var662 = var664; -RET_LABEL663:(void)0; +var804 = var806; +RET_LABEL805:(void)0; } } { -core___core__Array___core__abstract_collection__SimpleCollection__add_all(var662, var_initializers); /* Direct call array#Array#add_all on */ +core___core__Array___core__abstract_collection__SimpleCollection__add_all(var804, var_initializers); /* Direct call array$Array$add_all on */ } -var665 = NEW_nitc__MSignature(&type_nitc__MSignature); +var807 = NEW_nitc__MSignature(&type_nitc__MSignature); { -((void(*)(val* self, val* p0))(var665->class->vft[COLOR_nitc__model__MSignature__mparameters_61d]))(var665, var_mparameters108); /* mparameters= on */ +((void(*)(val* self, val* p0))(var807->class->vft[COLOR_nitc__model__MSignature__mparameters_61d]))(var807, var_mparameters126); /* mparameters= on */ } { -((void(*)(val* self, val* p0))(var665->class->vft[COLOR_nitc__model__MSignature__return_mtype_61d]))(var665, ((val*)NULL)); /* return_mtype= on */ +((void(*)(val* self, val* p0))(var807->class->vft[COLOR_nitc__model__MSignature__return_mtype_61d]))(var807, ((val*)NULL)); /* return_mtype= on */ } { -((void(*)(val* self))(var665->class->vft[COLOR_core__kernel__Object__init]))(var665); /* init on */ +((void(*)(val* self))(var807->class->vft[COLOR_core__kernel__Object__init]))(var807); /* init on */ } -var_msignature666 = var665; +var_msignature808 = var807; { -{ /* Inline model#MMethodDef#new_msignature= (var_mpropdef660,var_msignature666) on */ -var_mpropdef660->attrs[COLOR_nitc__model__MMethodDef___new_msignature].val = var_msignature666; /* _new_msignature on */ -RET_LABEL667:(void)0; +{ /* Inline model$MMethodDef$new_msignature= (var_mpropdef802,var_msignature808) on */ +var_mpropdef802->attrs[COLOR_nitc__model__MMethodDef___new_msignature].val = var_msignature808; /* _new_msignature on */ +RET_LABEL809:(void)0; } } -var668 = NEW_nitc__MSignature(&type_nitc__MSignature); -var669 = NEW_core__Array(&type_core__Array__nitc__MParameter); +var810 = NEW_nitc__MSignature(&type_nitc__MSignature); +var811 = NEW_core__Array(&type_core__Array__nitc__MParameter); { -core___core__Array___core__kernel__Object__init(var669); /* Direct call array#Array#init on */ +core___core__Array___core__kernel__Object__init(var811); /* Direct call array$Array$init on */ } { -((void(*)(val* self, val* p0))(var668->class->vft[COLOR_nitc__model__MSignature__mparameters_61d]))(var668, var669); /* mparameters= on */ +((void(*)(val* self, val* p0))(var810->class->vft[COLOR_nitc__model__MSignature__mparameters_61d]))(var810, var811); /* mparameters= on */ } { -((void(*)(val* self, val* p0))(var668->class->vft[COLOR_nitc__model__MSignature__return_mtype_61d]))(var668, ((val*)NULL)); /* return_mtype= on */ +((void(*)(val* self, val* p0))(var810->class->vft[COLOR_nitc__model__MSignature__return_mtype_61d]))(var810, ((val*)NULL)); /* return_mtype= on */ } { -((void(*)(val* self))(var668->class->vft[COLOR_core__kernel__Object__init]))(var668); /* init on */ +((void(*)(val* self))(var810->class->vft[COLOR_core__kernel__Object__init]))(var810); /* init on */ } { -{ /* Inline model#MMethodDef#msignature= (var_mpropdef660,var668) on */ -var_mpropdef660->attrs[COLOR_nitc__model__MMethodDef___msignature].val = var668; /* _msignature on */ -RET_LABEL670:(void)0; +{ /* Inline model$MMethodDef$msignature= (var_mpropdef802,var810) on */ +var_mpropdef802->attrs[COLOR_nitc__model__MMethodDef___msignature].val = var810; /* _msignature on */ +RET_LABEL812:(void)0; } } { -{ /* Inline modelize_property#AClassdef#mfree_init= (var_nclassdef,var_mpropdef660) on */ -var_nclassdef->attrs[COLOR_nitc__modelize_property__AClassdef___mfree_init].val = var_mpropdef660; /* _mfree_init on */ -RET_LABEL671:(void)0; -} +{ /* Inline modelbuilder_base$ModelBuilder$toolcontext (self) on */ +var815 = self->attrs[COLOR_nitc__modelbuilder_base__ModelBuilder___toolcontext].val; /* _toolcontext on */ +if (unlikely(var815 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -{ -{ /* Inline modelbuilder_base#ModelBuilder#toolcontext (self) on */ -var674 = self->attrs[COLOR_nitc__modelbuilder_base__ModelBuilder___toolcontext].val; /* _toolcontext on */ -if (unlikely(var674 == NULL)) { PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _toolcontext"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelbuilder_base, 47); fatal_exit(1); } -var672 = var674; -RET_LABEL673:(void)0; +var813 = var815; +RET_LABEL814:(void)0; } } -if (unlikely(varonce675==NULL)) { -var676 = NEW_core__NativeArray(4l, &type_core__NativeArray__core__String); -if (likely(varonce677!=NULL)) { -var678 = varonce677; +if (unlikely(varonce816==NULL)) { +var817 = NEW_core__NativeArray((int)4l, &type_core__NativeArray__core__String); +if (likely(varonce818!=NULL)) { +var819 = varonce818; } else { -var679 = " gets a free constructor for attributes "; -var680 = core__flat___NativeString___to_s_full(var679, 40l, 40l); -var678 = var680; -varonce677 = var678; +var820 = " gets a free constructor for attributes "; +var822 = (val*)(40l<<2|1); +var823 = (val*)(40l<<2|1); +var824 = (val*)((long)(0)<<2|3); +var825 = (val*)((long)(0)<<2|3); +var821 = core__flat___CString___to_s_unsafe(var820, var822, var823, var824, var825); +var819 = var821; +varonce818 = var819; } -((struct instance_core__NativeArray*)var676)->values[1]=var678; +((struct instance_core__NativeArray*)var817)->values[1]=var819; } else { -var676 = varonce675; -varonce675 = NULL; +var817 = varonce816; +varonce816 = NULL; } { -var681 = ((val*(*)(val* self))(var_mclassdef->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_mclassdef); /* to_s on */ +var826 = ((val*(*)(val* self))(var_mclassdef->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_mclassdef); /* to_s on */ } -((struct instance_core__NativeArray*)var676)->values[0]=var681; +((struct instance_core__NativeArray*)var817)->values[0]=var826; { -var682 = ((val*(*)(val* self))(var_mpropdef660->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_mpropdef660); /* to_s on */ +var827 = ((val*(*)(val* self))(var_mpropdef802->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_mpropdef802); /* to_s on */ } -((struct instance_core__NativeArray*)var676)->values[2]=var682; +((struct instance_core__NativeArray*)var817)->values[2]=var827; { -var683 = ((val*(*)(val* self))(var_msignature666->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_msignature666); /* to_s on */ +var828 = ((val*(*)(val* self))(var_msignature808->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_msignature808); /* to_s on */ } -((struct instance_core__NativeArray*)var676)->values[3]=var683; +((struct instance_core__NativeArray*)var817)->values[3]=var828; { -var684 = ((val*(*)(val* self))(var676->class->vft[COLOR_core__abstract_text__NativeArray__native_to_s]))(var676); /* native_to_s on */ +var829 = ((val*(*)(val* self))(var817->class->vft[COLOR_core__abstract_text__NativeArray__native_to_s]))(var817); /* native_to_s on */ } -varonce675 = var676; +varonce816 = var817; { -nitc___nitc__ToolContext___info(var672, var684, 3l); /* Direct call toolcontext#ToolContext#info on */ +nitc___nitc__ToolContext___info(var813, var829, 3l); /* Direct call toolcontext$ToolContext$info on */ } { -{ /* Inline model#MClassDef#mclass (var_mclassdef) on */ -var687 = var_mclassdef->attrs[COLOR_nitc__model__MClassDef___mclass].val; /* _mclass on */ -if (unlikely(var687 == NULL)) { +{ /* Inline model$MClassDef$mclass (var_mclassdef) on */ +var832 = var_mclassdef->attrs[COLOR_nitc__model__MClassDef___mclass].val; /* _mclass on */ +if (unlikely(var832 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclass"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 576); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 591); fatal_exit(1); } -var685 = var687; -RET_LABEL686:(void)0; +var830 = var832; +RET_LABEL831:(void)0; } } { -{ /* Inline modelize_property#MClass#root_init= (var685,var_mpropdef660) on */ -var685->attrs[COLOR_nitc__modelize_property__MClass___root_init].val = var_mpropdef660; /* _root_init on */ -RET_LABEL688:(void)0; +{ /* Inline modelize_property$MClass$root_init= (var830,var_mpropdef802) on */ +var830->attrs[COLOR_nitc__modelize_property__MClass___root_init].val = var_mpropdef802; /* _root_init on */ +RET_LABEL833:(void)0; } } RET_LABEL:; } -/* method modelize_property#ModelBuilder#check_visibility for (self: ModelBuilder, ANode, MType, MPropDef) */ +/* method modelize_property$ModelBuilder$check_visibility for (self: ModelBuilder, ANode, MType, MPropDef) */ void nitc__modelize_property___ModelBuilder___check_visibility(val* self, val* p0, val* p1, val* p2) { val* var_node /* var node: ANode */; val* var_mtype /* var mtype: MType */; @@ -4417,133 +5031,187 @@ int idtype46; short int var47 /* : Bool */; int cltype48; int idtype49; -val* var50 /* : NativeArray[String] */; +short int var50 /* : Bool */; +int cltype51; +int idtype52; +val* var53 /* : NativeArray[String] */; static val* varonce; -static val* varonce51; -val* var52 /* : String */; -char* var53 /* : NativeString */; -val* var54 /* : String */; +static val* varonce54; val* var55 /* : String */; -val* var56 /* : String */; -short int var57 /* : Bool */; -short int var58 /* : Bool */; +char* var56 /* : CString */; +val* var57 /* : String */; +val* var58 /* : nullable Int */; +val* var59 /* : nullable Int */; +val* var60 /* : nullable Bool */; +val* var61 /* : nullable Bool */; +val* var62 /* : String */; +val* var63 /* : String */; +short int var64 /* : Bool */; +short int var65 /* : Bool */; val* var_other /* var other: nullable Object */; -short int var60 /* : Bool */; -short int var61 /* : Bool */; -short int var62 /* : Bool */; -short int var63 /* : Bool */; -short int var65 /* : Bool */; -short int var66 /* : Bool */; -val* var67 /* : MVisibility */; +short int var67 /* : Bool */; +short int var68 /* : Bool */; +short int var69 /* : Bool */; +short int var70 /* : Bool */; +short int var72 /* : Bool */; +short int var73 /* : Bool */; +val* var74 /* : MVisibility */; val* var_vis_module_type /* var vis_module_type: MVisibility */; -val* var68 /* : MVisibility */; -val* var70 /* : MVisibility */; -short int var71 /* : Bool */; -val* var73 /* : NativeArray[String] */; -static val* varonce72; -static val* varonce74; -val* var75 /* : String */; -char* var76 /* : NativeString */; -val* var77 /* : String */; -static val* varonce78; -val* var79 /* : String */; -char* var80 /* : NativeString */; -val* var81 /* : String */; -static val* varonce82; -val* var83 /* : String */; -char* var84 /* : NativeString */; -val* var85 /* : String */; -static val* varonce86; -val* var87 /* : String */; -char* var88 /* : NativeString */; -val* var89 /* : String */; -static val* varonce90; -val* var91 /* : String */; -char* var92 /* : NativeString */; -val* var93 /* : String */; -val* var94 /* : MVisibility */; -val* var96 /* : MVisibility */; -val* var97 /* : String */; +val* var75 /* : MVisibility */; +val* var77 /* : MVisibility */; +short int var78 /* : Bool */; +val* var80 /* : NativeArray[String] */; +static val* varonce79; +static val* varonce81; +val* var82 /* : String */; +char* var83 /* : CString */; +val* var84 /* : String */; +val* var85 /* : nullable Int */; +val* var86 /* : nullable Int */; +val* var87 /* : nullable Bool */; +val* var88 /* : nullable Bool */; +static val* varonce89; +val* var90 /* : String */; +char* var91 /* : CString */; +val* var92 /* : String */; +val* var93 /* : nullable Int */; +val* var94 /* : nullable Int */; +val* var95 /* : nullable Bool */; +val* var96 /* : nullable Bool */; +static val* varonce97; val* var98 /* : String */; -val* var99 /* : String */; +char* var99 /* : CString */; val* var100 /* : String */; -val* var101 /* : String */; -val* var102 /* : MVisibility */; -val* var104 /* : MVisibility */; -short int var105 /* : Bool */; -val* var107 /* : NativeArray[String] */; -static val* varonce106; -static val* varonce108; -val* var109 /* : String */; -char* var110 /* : NativeString */; -val* var111 /* : String */; -static val* varonce112; -val* var113 /* : String */; -char* var114 /* : NativeString */; -val* var115 /* : String */; -static val* varonce116; -val* var117 /* : String */; -char* var118 /* : NativeString */; -val* var119 /* : String */; -static val* varonce120; -val* var121 /* : String */; -char* var122 /* : NativeString */; -val* var123 /* : String */; -static val* varonce124; +val* var101 /* : nullable Int */; +val* var102 /* : nullable Int */; +val* var103 /* : nullable Bool */; +val* var104 /* : nullable Bool */; +static val* varonce105; +val* var106 /* : String */; +char* var107 /* : CString */; +val* var108 /* : String */; +val* var109 /* : nullable Int */; +val* var110 /* : nullable Int */; +val* var111 /* : nullable Bool */; +val* var112 /* : nullable Bool */; +static val* varonce113; +val* var114 /* : String */; +char* var115 /* : CString */; +val* var116 /* : String */; +val* var117 /* : nullable Int */; +val* var118 /* : nullable Int */; +val* var119 /* : nullable Bool */; +val* var120 /* : nullable Bool */; +val* var121 /* : MVisibility */; +val* var123 /* : MVisibility */; +val* var124 /* : String */; val* var125 /* : String */; -char* var126 /* : NativeString */; +val* var126 /* : String */; val* var127 /* : String */; -static val* varonce128; -val* var129 /* : String */; -char* var130 /* : NativeString */; -val* var131 /* : String */; -val* var132 /* : MVisibility */; -val* var134 /* : MVisibility */; -val* var135 /* : String */; +val* var128 /* : String */; +val* var129 /* : MVisibility */; +val* var131 /* : MVisibility */; +short int var132 /* : Bool */; +val* var134 /* : NativeArray[String] */; +static val* varonce133; +static val* varonce135; val* var136 /* : String */; -val* var137 /* : String */; +char* var137 /* : CString */; val* var138 /* : String */; -val* var139 /* : String */; -val* var140 /* : String */; -short int var141 /* : Bool */; -int cltype142; -int idtype143; -val* var144 /* : ANodes[AType] */; -val* var146 /* : ANodes[AType] */; +val* var139 /* : nullable Int */; +val* var140 /* : nullable Int */; +val* var141 /* : nullable Bool */; +val* var142 /* : nullable Bool */; +static val* varonce143; +val* var144 /* : String */; +char* var145 /* : CString */; +val* var146 /* : String */; +val* var147 /* : nullable Int */; +val* var148 /* : nullable Int */; +val* var149 /* : nullable Bool */; +val* var150 /* : nullable Bool */; +static val* varonce151; +val* var152 /* : String */; +char* var153 /* : CString */; +val* var154 /* : String */; +val* var155 /* : nullable Int */; +val* var156 /* : nullable Int */; +val* var157 /* : nullable Bool */; +val* var158 /* : nullable Bool */; +static val* varonce159; +val* var160 /* : String */; +char* var161 /* : CString */; +val* var162 /* : String */; +val* var163 /* : nullable Int */; +val* var164 /* : nullable Int */; +val* var165 /* : nullable Bool */; +val* var166 /* : nullable Bool */; +static val* varonce167; +val* var168 /* : String */; +char* var169 /* : CString */; +val* var170 /* : String */; +val* var171 /* : nullable Int */; +val* var172 /* : nullable Int */; +val* var173 /* : nullable Bool */; +val* var174 /* : nullable Bool */; +static val* varonce175; +val* var176 /* : String */; +char* var177 /* : CString */; +val* var178 /* : String */; +val* var179 /* : nullable Int */; +val* var180 /* : nullable Int */; +val* var181 /* : nullable Bool */; +val* var182 /* : nullable Bool */; +val* var183 /* : MVisibility */; +val* var185 /* : MVisibility */; +val* var186 /* : String */; +val* var187 /* : String */; +val* var188 /* : String */; +val* var189 /* : String */; +val* var190 /* : String */; +val* var191 /* : String */; +short int var192 /* : Bool */; +int cltype193; +int idtype194; +val* var195 /* : ANodes[AType] */; +val* var197 /* : ANodes[AType] */; val* var_ /* var : ANodes[AType] */; -val* var147 /* : Iterator[ANode] */; -val* var_148 /* var : Iterator[AType] */; -short int var149 /* : Bool */; -val* var150 /* : nullable Object */; +val* var198 /* : Iterator[ANode] */; +val* var_199 /* var : Iterator[AType] */; +short int var200 /* : Bool */; +val* var201 /* : nullable Object */; val* var_a /* var a: AType */; -val* var151 /* : nullable MType */; -val* var153 /* : nullable MType */; +val* var202 /* : nullable MType */; +val* var204 /* : nullable MType */; val* var_t /* var t: nullable MType */; -short int var154 /* : Bool */; -short int var155 /* : Bool */; -val* var_other157 /* var other: nullable Object */; -short int var158 /* : Bool */; -short int var160 /* : Bool */; -short int var162 /* : Bool */; -int cltype163; -int idtype164; -val* var165 /* : Array[MType] */; -val* var167 /* : Array[MType] */; -val* var_168 /* var : Array[MType] */; -val* var169 /* : IndexedIterator[nullable Object] */; -val* var_170 /* var : IndexedIterator[MType] */; -short int var171 /* : Bool */; -val* var173 /* : nullable Object */; -val* var_t174 /* var t: MType */; +short int var205 /* : Bool */; +short int var206 /* : Bool */; +val* var_other208 /* var other: nullable Object */; +short int var209 /* : Bool */; +short int var211 /* : Bool */; +short int var213 /* : Bool */; +int cltype214; +int idtype215; +val* var216 /* : Array[MType] */; +val* var218 /* : Array[MType] */; +val* var_219 /* var : Array[MType] */; +val* var220 /* : IndexedIterator[nullable Object] */; +val* var_221 /* var : IndexedIterator[MType] */; +short int var222 /* : Bool */; +val* var224 /* : nullable Object */; +val* var_t225 /* var t: MType */; var_node = p0; var_mtype = p1; var_mpropdef = p2; { -{ /* Inline model#MPropDef#mclassdef (var_mpropdef) on */ +{ /* Inline model$MPropDef$mclassdef (var_mpropdef) on */ var2 = var_mpropdef->attrs[COLOR_nitc__model__MPropDef___mclassdef].val; /* _mclassdef on */ if (unlikely(var2 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclassdef"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2227); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2354); fatal_exit(1); } var = var2; @@ -4551,11 +5219,14 @@ RET_LABEL1:(void)0; } } { -{ /* Inline model#MClassDef#mmodule (var) on */ +{ /* Inline model$MClassDef$mmodule (var) on */ var5 = var->attrs[COLOR_nitc__model__MClassDef___mmodule].val; /* _mmodule on */ if (unlikely(var5 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mmodule"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 573); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 588); fatal_exit(1); } var3 = var5; @@ -4564,11 +5235,14 @@ RET_LABEL4:(void)0; } var_mmodule = var3; { -{ /* Inline model#MPropDef#mproperty (var_mpropdef) on */ +{ /* Inline model$MPropDef$mproperty (var_mpropdef) on */ var8 = var_mpropdef->attrs[COLOR_nitc__model__MPropDef___mproperty].val; /* _mproperty on */ if (unlikely(var8 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2230); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2357); fatal_exit(1); } var6 = var8; @@ -4592,11 +5266,14 @@ var10 = var_mtype->type->type_table[cltype] == idtype; } if (var10){ { -{ /* Inline model#MClassType#mclass (var_mtype) on */ +{ /* Inline model$MClassType$mclass (var_mtype) on */ var13 = var_mtype->attrs[COLOR_nitc__model__MClassType___mclass].val; /* _mclass on */ if (unlikely(var13 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclass"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 1163); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 1197); fatal_exit(1); } var11 = var13; @@ -4604,11 +5281,14 @@ RET_LABEL12:(void)0; } } { -{ /* Inline model#MClass#visibility (var11) on */ +{ /* Inline model$MClass$visibility (var11) on */ var16 = var11->attrs[COLOR_nitc__model__MClass___visibility].val; /* _visibility on */ if (unlikely(var16 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _visibility"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 463); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 476); fatal_exit(1); } var14 = var16; @@ -4617,11 +5297,14 @@ RET_LABEL15:(void)0; } var_vis_type = var14; { -{ /* Inline model#MClassType#mclass (var_mtype) on */ +{ /* Inline model$MClassType$mclass (var_mtype) on */ var19 = var_mtype->attrs[COLOR_nitc__model__MClassType___mclass].val; /* _mclass on */ if (unlikely(var19 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclass"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 1163); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 1197); fatal_exit(1); } var17 = var19; @@ -4629,11 +5312,14 @@ RET_LABEL18:(void)0; } } { -{ /* Inline model#MClass#intro_mmodule (var17) on */ +{ /* Inline model$MClass$intro_mmodule (var17) on */ var22 = var17->attrs[COLOR_nitc__model__MClass___intro_mmodule].val; /* _intro_mmodule on */ if (unlikely(var22 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _intro_mmodule"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 380); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 390); fatal_exit(1); } var20 = var22; @@ -4652,11 +5338,14 @@ var23 = var_mtype->type->type_table[cltype24] == idtype25; } if (var23){ { -{ /* Inline model#MVirtualType#mproperty (var_mtype) on */ +{ /* Inline model$MVirtualType$mproperty (var_mtype) on */ var28 = var_mtype->attrs[COLOR_nitc__model__MVirtualType___mproperty].val; /* _mproperty on */ if (unlikely(var28 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 1369); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 1423); fatal_exit(1); } var26 = var28; @@ -4664,11 +5353,14 @@ RET_LABEL27:(void)0; } } { -{ /* Inline model#MProperty#visibility (var26) on */ +{ /* Inline model$MProperty$visibility (var26) on */ var31 = var26->attrs[COLOR_nitc__model__MProperty___visibility].val; /* _visibility on */ if (unlikely(var31 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _visibility"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 1967); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2078); fatal_exit(1); } var29 = var31; @@ -4677,11 +5369,14 @@ RET_LABEL30:(void)0; } var_vis_type = var29; { -{ /* Inline model#MVirtualType#mproperty (var_mtype) on */ +{ /* Inline model$MVirtualType$mproperty (var_mtype) on */ var34 = var_mtype->attrs[COLOR_nitc__model__MVirtualType___mproperty].val; /* _mproperty on */ if (unlikely(var34 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 1369); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 1423); fatal_exit(1); } var32 = var34; @@ -4689,11 +5384,14 @@ RET_LABEL33:(void)0; } } { -{ /* Inline model#MProperty#intro_mclassdef (var32) on */ +{ /* Inline model$MProperty$intro_mclassdef (var32) on */ var37 = var32->attrs[COLOR_nitc__model__MProperty___intro_mclassdef].val; /* _intro_mclassdef on */ if (unlikely(var37 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _intro_mclassdef"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 1946); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2042); fatal_exit(1); } var35 = var37; @@ -4701,11 +5399,14 @@ RET_LABEL36:(void)0; } } { -{ /* Inline model#MClassDef#mmodule (var35) on */ +{ /* Inline model$MClassDef$mmodule (var35) on */ var40 = var35->attrs[COLOR_nitc__model__MClassDef___mmodule].val; /* _mmodule on */ if (unlikely(var40 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mmodule"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 573); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 588); fatal_exit(1); } var38 = var40; @@ -4744,304 +5445,381 @@ var47 = var_mtype->type->type_table[cltype48] == idtype49; } if (var47){ } else { -if (unlikely(varonce==NULL)) { -var50 = NEW_core__NativeArray(2l, &type_core__NativeArray__core__String); -if (likely(varonce51!=NULL)) { -var52 = varonce51; +/* isa MErrorType */ +cltype51 = type_nitc__MErrorType.color; +idtype52 = type_nitc__MErrorType.id; +if(cltype51 >= var_mtype->type->table_size) { +var50 = 0; } else { -var53 = "Unexpected type "; -var54 = core__flat___NativeString___to_s_full(var53, 16l, 16l); -var52 = var54; -varonce51 = var52; +var50 = var_mtype->type->type_table[cltype51] == idtype52; +} +if (var50){ +} else { +if (unlikely(varonce==NULL)) { +var53 = NEW_core__NativeArray((int)2l, &type_core__NativeArray__core__String); +if (likely(varonce54!=NULL)) { +var55 = varonce54; +} else { +var56 = "Unexpected type "; +var58 = (val*)(16l<<2|1); +var59 = (val*)(16l<<2|1); +var60 = (val*)((long)(0)<<2|3); +var61 = (val*)((long)(0)<<2|3); +var57 = core__flat___CString___to_s_unsafe(var56, var58, var59, var60, var61); +var55 = var57; +varonce54 = var55; } -((struct instance_core__NativeArray*)var50)->values[0]=var52; +((struct instance_core__NativeArray*)var53)->values[0]=var55; } else { -var50 = varonce; +var53 = varonce; varonce = NULL; } { -var55 = ((val*(*)(val* self))(var_mtype->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_mtype); /* to_s on */ +var62 = ((val*(*)(val* self))(var_mtype->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_mtype); /* to_s on */ } -((struct instance_core__NativeArray*)var50)->values[1]=var55; +((struct instance_core__NativeArray*)var53)->values[1]=var62; { -var56 = ((val*(*)(val* self))(var50->class->vft[COLOR_core__abstract_text__NativeArray__native_to_s]))(var50); /* native_to_s on */ +var63 = ((val*(*)(val* self))(var53->class->vft[COLOR_core__abstract_text__NativeArray__native_to_s]))(var53); /* native_to_s on */ } -varonce = var50; +varonce = var53; { -nitc___nitc__ANode___debug(var_node, var56); /* Direct call parser_nodes#ANode#debug on */ +nitc___nitc__ANode___debug(var_node, var63); /* Direct call parser_nodes$ANode$debug on */ +} +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } PRINT_ERROR("Runtime error: %s", "Aborted"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property, 389); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property, 390); fatal_exit(1); } } } } } +} if (var_vis_type == NULL) { -var57 = 0; /* is null */ +var64 = 0; /* is null */ } else { -var57 = 1; /* arg is null and recv is not */ +var64 = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_vis_type,((val*)NULL)) on */ +{ /* Inline kernel$Object$!= (var_vis_type,((val*)NULL)) on */ var_other = ((val*)NULL); { -var60 = ((short int(*)(val* self, val* p0))(var_vis_type->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_vis_type, var_other); /* == on */ +var67 = ((short int(*)(val* self, val* p0))(var_vis_type->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_vis_type, var_other); /* == on */ } -var61 = !var60; -var58 = var61; -goto RET_LABEL59; -RET_LABEL59:(void)0; +var68 = !var67; +var65 = var68; +goto RET_LABEL66; +RET_LABEL66:(void)0; } -var57 = var58; +var64 = var65; } -if (var57){ +if (var64){ if (var_mmodule_type == NULL) { -var62 = 0; /* is null */ +var69 = 0; /* is null */ } else { -var62 = 1; /* arg is null and recv is not */ +var69 = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_mmodule_type,((val*)NULL)) on */ +{ /* Inline kernel$Object$!= (var_mmodule_type,((val*)NULL)) on */ var_other = ((val*)NULL); { -var65 = ((short int(*)(val* self, val* p0))(var_mmodule_type->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_mmodule_type, var_other); /* == on */ +var72 = ((short int(*)(val* self, val* p0))(var_mmodule_type->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_mmodule_type, var_other); /* == on */ } -var66 = !var65; -var63 = var66; -goto RET_LABEL64; -RET_LABEL64:(void)0; +var73 = !var72; +var70 = var73; +goto RET_LABEL71; +RET_LABEL71:(void)0; } -var62 = var63; +var69 = var70; +} +if (unlikely(!var69)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -if (unlikely(!var62)) { PRINT_ERROR("Runtime error: %s", "Assert failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property, 393); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property, 394); fatal_exit(1); } { -var67 = nitc___nitc__MModule___visibility_for(var_mmodule, var_mmodule_type); +var74 = nitc___nitc__MModule___visibility_for(var_mmodule, var_mmodule_type); } -var_vis_module_type = var67; +var_vis_module_type = var74; { -{ /* Inline model#MProperty#visibility (var_mproperty) on */ -var70 = var_mproperty->attrs[COLOR_nitc__model__MProperty___visibility].val; /* _visibility on */ -if (unlikely(var70 == NULL)) { +{ /* Inline model$MProperty$visibility (var_mproperty) on */ +var77 = var_mproperty->attrs[COLOR_nitc__model__MProperty___visibility].val; /* _visibility on */ +if (unlikely(var77 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _visibility"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 1967); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2078); fatal_exit(1); } -var68 = var70; -RET_LABEL69:(void)0; -} -} -{ -var71 = core___core__Comparable____62d(var68, var_vis_type); -} -if (var71){ -if (unlikely(varonce72==NULL)) { -var73 = NEW_core__NativeArray(9l, &type_core__NativeArray__core__String); -if (likely(varonce74!=NULL)) { -var75 = varonce74; -} else { -var76 = "Error: the "; -var77 = core__flat___NativeString___to_s_full(var76, 11l, 11l); var75 = var77; -varonce74 = var75; -} -((struct instance_core__NativeArray*)var73)->values[0]=var75; -if (likely(varonce78!=NULL)) { -var79 = varonce78; -} else { -var80 = " property `"; -var81 = core__flat___NativeString___to_s_full(var80, 11l, 11l); -var79 = var81; -varonce78 = var79; +RET_LABEL76:(void)0; } -((struct instance_core__NativeArray*)var73)->values[2]=var79; -if (likely(varonce82!=NULL)) { -var83 = varonce82; -} else { -var84 = "` cannot contain the "; -var85 = core__flat___NativeString___to_s_full(var84, 21l, 21l); -var83 = var85; -varonce82 = var83; } -((struct instance_core__NativeArray*)var73)->values[4]=var83; -if (likely(varonce86!=NULL)) { -var87 = varonce86; -} else { -var88 = " type `"; -var89 = core__flat___NativeString___to_s_full(var88, 7l, 7l); -var87 = var89; -varonce86 = var87; +{ +var78 = core___core__Comparable____62d(var75, var_vis_type); } -((struct instance_core__NativeArray*)var73)->values[6]=var87; -if (likely(varonce90!=NULL)) { -var91 = varonce90; +if (var78){ +if (unlikely(varonce79==NULL)) { +var80 = NEW_core__NativeArray((int)9l, &type_core__NativeArray__core__String); +if (likely(varonce81!=NULL)) { +var82 = varonce81; } else { -var92 = "`."; -var93 = core__flat___NativeString___to_s_full(var92, 2l, 2l); -var91 = var93; -varonce90 = var91; +var83 = "Error: the "; +var85 = (val*)(11l<<2|1); +var86 = (val*)(11l<<2|1); +var87 = (val*)((long)(0)<<2|3); +var88 = (val*)((long)(0)<<2|3); +var84 = core__flat___CString___to_s_unsafe(var83, var85, var86, var87, var88); +var82 = var84; +varonce81 = var82; } -((struct instance_core__NativeArray*)var73)->values[8]=var91; +((struct instance_core__NativeArray*)var80)->values[0]=var82; +if (likely(varonce89!=NULL)) { +var90 = varonce89; } else { -var73 = varonce72; -varonce72 = NULL; +var91 = " property `"; +var93 = (val*)(11l<<2|1); +var94 = (val*)(11l<<2|1); +var95 = (val*)((long)(0)<<2|3); +var96 = (val*)((long)(0)<<2|3); +var92 = core__flat___CString___to_s_unsafe(var91, var93, var94, var95, var96); +var90 = var92; +varonce89 = var90; +} +((struct instance_core__NativeArray*)var80)->values[2]=var90; +if (likely(varonce97!=NULL)) { +var98 = varonce97; +} else { +var99 = "` cannot contain the "; +var101 = (val*)(21l<<2|1); +var102 = (val*)(21l<<2|1); +var103 = (val*)((long)(0)<<2|3); +var104 = (val*)((long)(0)<<2|3); +var100 = core__flat___CString___to_s_unsafe(var99, var101, var102, var103, var104); +var98 = var100; +varonce97 = var98; +} +((struct instance_core__NativeArray*)var80)->values[4]=var98; +if (likely(varonce105!=NULL)) { +var106 = varonce105; +} else { +var107 = " type `"; +var109 = (val*)(7l<<2|1); +var110 = (val*)(7l<<2|1); +var111 = (val*)((long)(0)<<2|3); +var112 = (val*)((long)(0)<<2|3); +var108 = core__flat___CString___to_s_unsafe(var107, var109, var110, var111, var112); +var106 = var108; +varonce105 = var106; +} +((struct instance_core__NativeArray*)var80)->values[6]=var106; +if (likely(varonce113!=NULL)) { +var114 = varonce113; +} else { +var115 = "`."; +var117 = (val*)(2l<<2|1); +var118 = (val*)(2l<<2|1); +var119 = (val*)((long)(0)<<2|3); +var120 = (val*)((long)(0)<<2|3); +var116 = core__flat___CString___to_s_unsafe(var115, var117, var118, var119, var120); +var114 = var116; +varonce113 = var114; +} +((struct instance_core__NativeArray*)var80)->values[8]=var114; +} else { +var80 = varonce79; +varonce79 = NULL; +} +{ +{ /* Inline model$MProperty$visibility (var_mproperty) on */ +var123 = var_mproperty->attrs[COLOR_nitc__model__MProperty___visibility].val; /* _visibility on */ +if (unlikely(var123 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -{ -{ /* Inline model#MProperty#visibility (var_mproperty) on */ -var96 = var_mproperty->attrs[COLOR_nitc__model__MProperty___visibility].val; /* _visibility on */ -if (unlikely(var96 == NULL)) { PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _visibility"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 1967); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2078); fatal_exit(1); } -var94 = var96; -RET_LABEL95:(void)0; +var121 = var123; +RET_LABEL122:(void)0; } } { -var97 = ((val*(*)(val* self))(var94->class->vft[COLOR_core__abstract_text__Object__to_s]))(var94); /* to_s on */ +var124 = ((val*(*)(val* self))(var121->class->vft[COLOR_core__abstract_text__Object__to_s]))(var121); /* to_s on */ } -((struct instance_core__NativeArray*)var73)->values[1]=var97; +((struct instance_core__NativeArray*)var80)->values[1]=var124; { -var98 = ((val*(*)(val* self))(var_mproperty->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_mproperty); /* to_s on */ +var125 = ((val*(*)(val* self))(var_mproperty->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_mproperty); /* to_s on */ } -((struct instance_core__NativeArray*)var73)->values[3]=var98; +((struct instance_core__NativeArray*)var80)->values[3]=var125; { -var99 = ((val*(*)(val* self))(var_vis_type->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_vis_type); /* to_s on */ +var126 = ((val*(*)(val* self))(var_vis_type->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_vis_type); /* to_s on */ } -((struct instance_core__NativeArray*)var73)->values[5]=var99; +((struct instance_core__NativeArray*)var80)->values[5]=var126; { -var100 = ((val*(*)(val* self))(var_mtype->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_mtype); /* to_s on */ +var127 = ((val*(*)(val* self))(var_mtype->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_mtype); /* to_s on */ } -((struct instance_core__NativeArray*)var73)->values[7]=var100; +((struct instance_core__NativeArray*)var80)->values[7]=var127; { -var101 = ((val*(*)(val* self))(var73->class->vft[COLOR_core__abstract_text__NativeArray__native_to_s]))(var73); /* native_to_s on */ +var128 = ((val*(*)(val* self))(var80->class->vft[COLOR_core__abstract_text__NativeArray__native_to_s]))(var80); /* native_to_s on */ } -varonce72 = var73; +varonce79 = var80; { -nitc___nitc__ModelBuilder___error(self, var_node, var101); /* Direct call modelbuilder_base#ModelBuilder#error on */ +nitc___nitc__ModelBuilder___error(self, var_node, var128); /* Direct call modelbuilder_base$ModelBuilder$error on */ } goto RET_LABEL; } else { { -{ /* Inline model#MProperty#visibility (var_mproperty) on */ -var104 = var_mproperty->attrs[COLOR_nitc__model__MProperty___visibility].val; /* _visibility on */ -if (unlikely(var104 == NULL)) { +{ /* Inline model$MProperty$visibility (var_mproperty) on */ +var131 = var_mproperty->attrs[COLOR_nitc__model__MProperty___visibility].val; /* _visibility on */ +if (unlikely(var131 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _visibility"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 1967); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2078); fatal_exit(1); } -var102 = var104; -RET_LABEL103:(void)0; +var129 = var131; +RET_LABEL130:(void)0; } } { -var105 = core___core__Comparable____62d(var102, var_vis_module_type); -} -if (var105){ -if (unlikely(varonce106==NULL)) { -var107 = NEW_core__NativeArray(11l, &type_core__NativeArray__core__String); -if (likely(varonce108!=NULL)) { -var109 = varonce108; -} else { -var110 = "Error: the "; -var111 = core__flat___NativeString___to_s_full(var110, 11l, 11l); -var109 = var111; -varonce108 = var109; -} -((struct instance_core__NativeArray*)var107)->values[0]=var109; -if (likely(varonce112!=NULL)) { -var113 = varonce112; -} else { -var114 = " property `"; -var115 = core__flat___NativeString___to_s_full(var114, 11l, 11l); -var113 = var115; -varonce112 = var113; -} -((struct instance_core__NativeArray*)var107)->values[2]=var113; -if (likely(varonce116!=NULL)) { -var117 = varonce116; -} else { -var118 = "` cannot contain the type `"; -var119 = core__flat___NativeString___to_s_full(var118, 27l, 27l); -var117 = var119; -varonce116 = var117; +var132 = core___core__Comparable____62d(var129, var_vis_module_type); } -((struct instance_core__NativeArray*)var107)->values[4]=var117; -if (likely(varonce120!=NULL)) { -var121 = varonce120; -} else { -var122 = "` from the "; -var123 = core__flat___NativeString___to_s_full(var122, 11l, 11l); -var121 = var123; -varonce120 = var121; -} -((struct instance_core__NativeArray*)var107)->values[6]=var121; -if (likely(varonce124!=NULL)) { -var125 = varonce124; -} else { -var126 = " module `"; -var127 = core__flat___NativeString___to_s_full(var126, 9l, 9l); -var125 = var127; -varonce124 = var125; -} -((struct instance_core__NativeArray*)var107)->values[8]=var125; -if (likely(varonce128!=NULL)) { -var129 = varonce128; -} else { -var130 = "`."; -var131 = core__flat___NativeString___to_s_full(var130, 2l, 2l); -var129 = var131; -varonce128 = var129; +if (var132){ +if (unlikely(varonce133==NULL)) { +var134 = NEW_core__NativeArray((int)11l, &type_core__NativeArray__core__String); +if (likely(varonce135!=NULL)) { +var136 = varonce135; +} else { +var137 = "Error: the "; +var139 = (val*)(11l<<2|1); +var140 = (val*)(11l<<2|1); +var141 = (val*)((long)(0)<<2|3); +var142 = (val*)((long)(0)<<2|3); +var138 = core__flat___CString___to_s_unsafe(var137, var139, var140, var141, var142); +var136 = var138; +varonce135 = var136; +} +((struct instance_core__NativeArray*)var134)->values[0]=var136; +if (likely(varonce143!=NULL)) { +var144 = varonce143; +} else { +var145 = " property `"; +var147 = (val*)(11l<<2|1); +var148 = (val*)(11l<<2|1); +var149 = (val*)((long)(0)<<2|3); +var150 = (val*)((long)(0)<<2|3); +var146 = core__flat___CString___to_s_unsafe(var145, var147, var148, var149, var150); +var144 = var146; +varonce143 = var144; +} +((struct instance_core__NativeArray*)var134)->values[2]=var144; +if (likely(varonce151!=NULL)) { +var152 = varonce151; +} else { +var153 = "` cannot contain the type `"; +var155 = (val*)(27l<<2|1); +var156 = (val*)(27l<<2|1); +var157 = (val*)((long)(0)<<2|3); +var158 = (val*)((long)(0)<<2|3); +var154 = core__flat___CString___to_s_unsafe(var153, var155, var156, var157, var158); +var152 = var154; +varonce151 = var152; +} +((struct instance_core__NativeArray*)var134)->values[4]=var152; +if (likely(varonce159!=NULL)) { +var160 = varonce159; +} else { +var161 = "` from the "; +var163 = (val*)(11l<<2|1); +var164 = (val*)(11l<<2|1); +var165 = (val*)((long)(0)<<2|3); +var166 = (val*)((long)(0)<<2|3); +var162 = core__flat___CString___to_s_unsafe(var161, var163, var164, var165, var166); +var160 = var162; +varonce159 = var160; +} +((struct instance_core__NativeArray*)var134)->values[6]=var160; +if (likely(varonce167!=NULL)) { +var168 = varonce167; +} else { +var169 = " module `"; +var171 = (val*)(9l<<2|1); +var172 = (val*)(9l<<2|1); +var173 = (val*)((long)(0)<<2|3); +var174 = (val*)((long)(0)<<2|3); +var170 = core__flat___CString___to_s_unsafe(var169, var171, var172, var173, var174); +var168 = var170; +varonce167 = var168; +} +((struct instance_core__NativeArray*)var134)->values[8]=var168; +if (likely(varonce175!=NULL)) { +var176 = varonce175; +} else { +var177 = "`."; +var179 = (val*)(2l<<2|1); +var180 = (val*)(2l<<2|1); +var181 = (val*)((long)(0)<<2|3); +var182 = (val*)((long)(0)<<2|3); +var178 = core__flat___CString___to_s_unsafe(var177, var179, var180, var181, var182); +var176 = var178; +varonce175 = var176; } -((struct instance_core__NativeArray*)var107)->values[10]=var129; +((struct instance_core__NativeArray*)var134)->values[10]=var176; } else { -var107 = varonce106; -varonce106 = NULL; +var134 = varonce133; +varonce133 = NULL; } { -{ /* Inline model#MProperty#visibility (var_mproperty) on */ -var134 = var_mproperty->attrs[COLOR_nitc__model__MProperty___visibility].val; /* _visibility on */ -if (unlikely(var134 == NULL)) { +{ /* Inline model$MProperty$visibility (var_mproperty) on */ +var185 = var_mproperty->attrs[COLOR_nitc__model__MProperty___visibility].val; /* _visibility on */ +if (unlikely(var185 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _visibility"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 1967); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2078); fatal_exit(1); } -var132 = var134; -RET_LABEL133:(void)0; +var183 = var185; +RET_LABEL184:(void)0; } } { -var135 = ((val*(*)(val* self))(var132->class->vft[COLOR_core__abstract_text__Object__to_s]))(var132); /* to_s on */ +var186 = ((val*(*)(val* self))(var183->class->vft[COLOR_core__abstract_text__Object__to_s]))(var183); /* to_s on */ } -((struct instance_core__NativeArray*)var107)->values[1]=var135; +((struct instance_core__NativeArray*)var134)->values[1]=var186; { -var136 = ((val*(*)(val* self))(var_mproperty->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_mproperty); /* to_s on */ +var187 = ((val*(*)(val* self))(var_mproperty->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_mproperty); /* to_s on */ } -((struct instance_core__NativeArray*)var107)->values[3]=var136; +((struct instance_core__NativeArray*)var134)->values[3]=var187; { -var137 = ((val*(*)(val* self))(var_mtype->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_mtype); /* to_s on */ +var188 = ((val*(*)(val* self))(var_mtype->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_mtype); /* to_s on */ } -((struct instance_core__NativeArray*)var107)->values[5]=var137; +((struct instance_core__NativeArray*)var134)->values[5]=var188; { -var138 = ((val*(*)(val* self))(var_vis_module_type->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_vis_module_type); /* to_s on */ +var189 = ((val*(*)(val* self))(var_vis_module_type->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_vis_module_type); /* to_s on */ } -((struct instance_core__NativeArray*)var107)->values[7]=var138; +((struct instance_core__NativeArray*)var134)->values[7]=var189; { -var139 = ((val*(*)(val* self))(var_mmodule_type->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_mmodule_type); /* to_s on */ +var190 = ((val*(*)(val* self))(var_mmodule_type->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_mmodule_type); /* to_s on */ } -((struct instance_core__NativeArray*)var107)->values[9]=var139; +((struct instance_core__NativeArray*)var134)->values[9]=var190; { -var140 = ((val*(*)(val* self))(var107->class->vft[COLOR_core__abstract_text__NativeArray__native_to_s]))(var107); /* native_to_s on */ +var191 = ((val*(*)(val* self))(var134->class->vft[COLOR_core__abstract_text__NativeArray__native_to_s]))(var134); /* native_to_s on */ } -varonce106 = var107; +varonce133 = var134; { -nitc___nitc__ModelBuilder___error(self, var_node, var140); /* Direct call modelbuilder_base#ModelBuilder#error on */ +nitc___nitc__ModelBuilder___error(self, var_node, var191); /* Direct call modelbuilder_base$ModelBuilder$error on */ } goto RET_LABEL; } else { @@ -5050,145 +5828,151 @@ goto RET_LABEL; } else { } /* isa AType */ -cltype142 = type_nitc__AType.color; -idtype143 = type_nitc__AType.id; -if(cltype142 >= var_node->type->table_size) { -var141 = 0; +cltype193 = type_nitc__AType.color; +idtype194 = type_nitc__AType.id; +if(cltype193 >= var_node->type->table_size) { +var192 = 0; } else { -var141 = var_node->type->type_table[cltype142] == idtype143; +var192 = var_node->type->type_table[cltype193] == idtype194; } -if (var141){ +if (var192){ { -{ /* Inline parser_nodes#AType#n_types (var_node) on */ -var146 = var_node->attrs[COLOR_nitc__parser_nodes__AType___n_types].val; /* _n_types on */ -if (unlikely(var146 == NULL)) { +{ /* Inline parser_nodes$AType$n_types (var_node) on */ +var197 = var_node->attrs[COLOR_nitc__parser_nodes__AType___n_types].val; /* _n_types on */ +if (unlikely(var197 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_types"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1715); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1782); fatal_exit(1); } -var144 = var146; -RET_LABEL145:(void)0; +var195 = var197; +RET_LABEL196:(void)0; } } -var_ = var144; +var_ = var195; { -var147 = nitc___nitc__ANodes___core__abstract_collection__Collection__iterator(var_); +var198 = nitc___nitc__ANodes___core__abstract_collection__Collection__iterator(var_); } -var_148 = var147; +var_199 = var198; for(;;) { { -var149 = ((short int(*)(val* self))((((long)var_148&3)?class_info[((long)var_148&3)]:var_148->class)->vft[COLOR_core__abstract_collection__Iterator__is_ok]))(var_148); /* is_ok on */ +var200 = ((short int(*)(val* self))((((long)var_199&3)?class_info[((long)var_199&3)]:var_199->class)->vft[COLOR_core__abstract_collection__Iterator__is_ok]))(var_199); /* is_ok on */ } -if (var149){ +if (var200){ } else { goto BREAK_label; } { -var150 = ((val*(*)(val* self))((((long)var_148&3)?class_info[((long)var_148&3)]:var_148->class)->vft[COLOR_core__abstract_collection__Iterator__item]))(var_148); /* item on */ +var201 = ((val*(*)(val* self))((((long)var_199&3)?class_info[((long)var_199&3)]:var_199->class)->vft[COLOR_core__abstract_collection__Iterator__item]))(var_199); /* item on */ } -var_a = var150; +var_a = var201; { -{ /* Inline modelbuilder_base#AType#mtype (var_a) on */ -var153 = var_a->attrs[COLOR_nitc__modelbuilder_base__AType___mtype].val; /* _mtype on */ -var151 = var153; -RET_LABEL152:(void)0; +{ /* Inline modelbuilder_base$AType$mtype (var_a) on */ +var204 = var_a->attrs[COLOR_nitc__modelbuilder_base__AType___mtype].val; /* _mtype on */ +var202 = var204; +RET_LABEL203:(void)0; } } -var_t = var151; +var_t = var202; if (var_t == NULL) { -var154 = 1; /* is null */ +var205 = 1; /* is null */ } else { -var154 = 0; /* arg is null but recv is not */ +var205 = 0; /* arg is null but recv is not */ } if (0) { -{ /* Inline kernel#Object#== (var_t,((val*)NULL)) on */ -var_other157 = ((val*)NULL); +{ /* Inline kernel$Object$== (var_t,((val*)NULL)) on */ +var_other208 = ((val*)NULL); { -{ /* Inline kernel#Object#is_same_instance (var_t,var_other157) on */ -var160 = var_t == var_other157; -var158 = var160; -goto RET_LABEL159; -RET_LABEL159:(void)0; +{ /* Inline kernel$Object$is_same_instance (var_t,var_other208) on */ +var211 = var_t == var_other208; +var209 = var211; +goto RET_LABEL210; +RET_LABEL210:(void)0; } } -var155 = var158; -goto RET_LABEL156; -RET_LABEL156:(void)0; +var206 = var209; +goto RET_LABEL207; +RET_LABEL207:(void)0; } -var154 = var155; +var205 = var206; } -if (var154){ -goto BREAK_label161; +if (var205){ +goto BREAK_label212; } else { } { -nitc__modelize_property___ModelBuilder___check_visibility(self, var_a, var_t, var_mpropdef); /* Direct call modelize_property#ModelBuilder#check_visibility on */ +nitc__modelize_property___ModelBuilder___check_visibility(self, var_a, var_t, var_mpropdef); /* Direct call modelize_property$ModelBuilder$check_visibility on */ } -BREAK_label161: (void)0; +BREAK_label212: (void)0; { -((void(*)(val* self))((((long)var_148&3)?class_info[((long)var_148&3)]:var_148->class)->vft[COLOR_core__abstract_collection__Iterator__next]))(var_148); /* next on */ +((void(*)(val* self))((((long)var_199&3)?class_info[((long)var_199&3)]:var_199->class)->vft[COLOR_core__abstract_collection__Iterator__next]))(var_199); /* next on */ } } BREAK_label: (void)0; { -((void(*)(val* self))((((long)var_148&3)?class_info[((long)var_148&3)]:var_148->class)->vft[COLOR_core__abstract_collection__Iterator__finish]))(var_148); /* finish on */ +((void(*)(val* self))((((long)var_199&3)?class_info[((long)var_199&3)]:var_199->class)->vft[COLOR_core__abstract_collection__Iterator__finish]))(var_199); /* finish on */ } } else { /* isa MGenericType */ -cltype163 = type_nitc__MGenericType.color; -idtype164 = type_nitc__MGenericType.id; -if(cltype163 >= var_mtype->type->table_size) { -var162 = 0; +cltype214 = type_nitc__MGenericType.color; +idtype215 = type_nitc__MGenericType.id; +if(cltype214 >= var_mtype->type->table_size) { +var213 = 0; } else { -var162 = var_mtype->type->type_table[cltype163] == idtype164; +var213 = var_mtype->type->type_table[cltype214] == idtype215; } -if (var162){ +if (var213){ { -{ /* Inline model#MGenericType#arguments (var_mtype) on */ -var167 = var_mtype->attrs[COLOR_nitc__model__MGenericType___arguments].val; /* _arguments on */ -if (unlikely(var167 == NULL)) { +{ /* Inline model$MGenericType$arguments (var_mtype) on */ +var218 = var_mtype->attrs[COLOR_nitc__model__MGenericType___arguments].val; /* _arguments on */ +if (unlikely(var218 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _arguments"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 1269); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 1305); fatal_exit(1); } -var165 = var167; -RET_LABEL166:(void)0; +var216 = var218; +RET_LABEL217:(void)0; } } -var_168 = var165; +var_219 = var216; { -var169 = core___core__AbstractArrayRead___core__abstract_collection__Collection__iterator(var_168); +var220 = core___core__AbstractArrayRead___core__abstract_collection__Collection__iterator(var_219); } -var_170 = var169; +var_221 = var220; for(;;) { { -var171 = ((short int(*)(val* self))((((long)var_170&3)?class_info[((long)var_170&3)]:var_170->class)->vft[COLOR_core__abstract_collection__Iterator__is_ok]))(var_170); /* is_ok on */ +var222 = ((short int(*)(val* self))((((long)var_221&3)?class_info[((long)var_221&3)]:var_221->class)->vft[COLOR_core__abstract_collection__Iterator__is_ok]))(var_221); /* is_ok on */ } -if (var171){ +if (var222){ } else { -goto BREAK_label172; +goto BREAK_label223; } { -var173 = ((val*(*)(val* self))((((long)var_170&3)?class_info[((long)var_170&3)]:var_170->class)->vft[COLOR_core__abstract_collection__Iterator__item]))(var_170); /* item on */ +var224 = ((val*(*)(val* self))((((long)var_221&3)?class_info[((long)var_221&3)]:var_221->class)->vft[COLOR_core__abstract_collection__Iterator__item]))(var_221); /* item on */ } -var_t174 = var173; +var_t225 = var224; { -nitc__modelize_property___ModelBuilder___check_visibility(self, var_node, var_t174, var_mpropdef); /* Direct call modelize_property#ModelBuilder#check_visibility on */ +nitc__modelize_property___ModelBuilder___check_visibility(self, var_node, var_t225, var_mpropdef); /* Direct call modelize_property$ModelBuilder$check_visibility on */ } { -((void(*)(val* self))((((long)var_170&3)?class_info[((long)var_170&3)]:var_170->class)->vft[COLOR_core__abstract_collection__Iterator__next]))(var_170); /* next on */ +((void(*)(val* self))((((long)var_221&3)?class_info[((long)var_221&3)]:var_221->class)->vft[COLOR_core__abstract_collection__Iterator__next]))(var_221); /* next on */ } } -BREAK_label172: (void)0; +BREAK_label223: (void)0; { -((void(*)(val* self))((((long)var_170&3)?class_info[((long)var_170&3)]:var_170->class)->vft[COLOR_core__abstract_collection__Iterator__finish]))(var_170); /* finish on */ +((void(*)(val* self))((((long)var_221&3)?class_info[((long)var_221&3)]:var_221->class)->vft[COLOR_core__abstract_collection__Iterator__finish]))(var_221); /* finish on */ } } else { } } RET_LABEL:; } -/* method modelize_property#ModelBuilder#check_virtual_types_circularity for (self: ModelBuilder, ANode, MVirtualTypeProp, MType, MModule): Bool */ +/* method modelize_property$ModelBuilder$check_virtual_types_circularity for (self: ModelBuilder, ANode, MVirtualTypeProp, MType, MModule): Bool */ short int nitc__modelize_property___ModelBuilder___check_virtual_types_circularity(val* self, val* p0, val* p1, val* p2, val* p3) { short int var /* : Bool */; val* var_node /* var node: ANode */; @@ -5266,51 +6050,82 @@ val* var68 /* : NativeArray[String] */; static val* varonce; static val* varonce69; val* var70 /* : String */; -char* var71 /* : NativeString */; +char* var71 /* : CString */; val* var72 /* : String */; -static val* varonce73; -val* var74 /* : String */; -char* var75 /* : NativeString */; -val* var76 /* : String */; +val* var73 /* : nullable Int */; +val* var74 /* : nullable Int */; +val* var75 /* : nullable Bool */; +val* var76 /* : nullable Bool */; static val* varonce77; val* var78 /* : String */; -char* var79 /* : NativeString */; +char* var79 /* : CString */; val* var80 /* : String */; -val* var81 /* : String */; -val* var82 /* : String */; -val* var83 /* : String */; -val* var85 /* : NativeArray[String] */; -static val* varonce84; -static val* varonce86; -val* var87 /* : String */; -char* var88 /* : NativeString */; -val* var89 /* : String */; -static val* varonce90; -val* var91 /* : String */; -char* var92 /* : NativeString */; +val* var81 /* : nullable Int */; +val* var82 /* : nullable Int */; +val* var83 /* : nullable Bool */; +val* var84 /* : nullable Bool */; +static val* varonce85; +val* var86 /* : String */; +char* var87 /* : CString */; +val* var88 /* : String */; +val* var89 /* : nullable Int */; +val* var90 /* : nullable Int */; +val* var91 /* : nullable Bool */; +val* var92 /* : nullable Bool */; val* var93 /* : String */; -static val* varonce94; +val* var94 /* : String */; val* var95 /* : String */; -char* var96 /* : NativeString */; -val* var97 /* : String */; +val* var97 /* : NativeArray[String] */; +static val* varonce96; static val* varonce98; val* var99 /* : String */; -char* var100 /* : NativeString */; +char* var100 /* : CString */; val* var101 /* : String */; -val* var102 /* : String */; -val* var103 /* : String */; -val* var104 /* : String */; -val* var105 /* : String */; +val* var102 /* : nullable Int */; +val* var103 /* : nullable Int */; +val* var104 /* : nullable Bool */; +val* var105 /* : nullable Bool */; +static val* varonce106; +val* var107 /* : String */; +char* var108 /* : CString */; +val* var109 /* : String */; +val* var110 /* : nullable Int */; +val* var111 /* : nullable Int */; +val* var112 /* : nullable Bool */; +val* var113 /* : nullable Bool */; +static val* varonce114; +val* var115 /* : String */; +char* var116 /* : CString */; +val* var117 /* : String */; +val* var118 /* : nullable Int */; +val* var119 /* : nullable Int */; +val* var120 /* : nullable Bool */; +val* var121 /* : nullable Bool */; +static val* varonce122; +val* var123 /* : String */; +char* var124 /* : CString */; +val* var125 /* : String */; +val* var126 /* : nullable Int */; +val* var127 /* : nullable Int */; +val* var128 /* : nullable Bool */; +val* var129 /* : nullable Bool */; +val* var130 /* : String */; +val* var131 /* : String */; +val* var132 /* : String */; +val* var133 /* : String */; var_node = p0; var_mproperty = p1; var_recv = p2; var_mmodule = p3; { -{ /* Inline model#MVirtualTypeProp#mvirtualtype (var_mproperty) on */ +{ /* Inline model$MVirtualTypeProp$mvirtualtype (var_mproperty) on */ var3 = var_mproperty->attrs[COLOR_nitc__model__MVirtualTypeProp___mvirtualtype].val; /* _mvirtualtype on */ if (unlikely(var3 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mvirtualtype"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2209); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2333); fatal_exit(1); } var1 = var3; @@ -5320,14 +6135,14 @@ RET_LABEL2:(void)0; var_mtype = var1; var4 = NEW_poset__POSet(&type_poset__POSet__nitc__MType); { -{ /* Inline kernel#Object#init (var4) on */ +{ /* Inline kernel$Object$init (var4) on */ RET_LABEL5:(void)0; } } var_poset = var4; var6 = NEW_core__List(&type_core__List__nitc__MType); { -{ /* Inline list#List#init (var6) on */ +{ /* Inline list$List$init (var6) on */ { ((void(*)(val* self))(var6->class->vft[COLOR_core___core__List___core__kernel__Object__init]))(var6); /* init on */ } @@ -5336,7 +6151,7 @@ RET_LABEL7:(void)0; } var_todo = var6; { -core___core__Sequence___SimpleCollection__add(var_todo, var_mtype); /* Direct call abstract_collection#Sequence#add on */ +core___core__Sequence___SimpleCollection__add(var_todo, var_mtype); /* Direct call abstract_collection$Sequence$add on */ } for(;;) { { @@ -5367,15 +6182,18 @@ var13 = var_t->type->type_table[cltype] == idtype; if (var13){ var14 = NEW_core__Array(&type_core__Array__nitc__MType); { -core___core__Array___with_capacity(var14, 1l); /* Direct call array#Array#with_capacity on */ +core___core__Array___with_capacity(var14, 1l); /* Direct call array$Array$with_capacity on */ } var_ = var14; { -{ /* Inline model#MProxyType#mtype (var_t) on */ +{ /* Inline model$MProxyType$mtype (var_t) on */ var17 = var_t->attrs[COLOR_nitc__model__MProxyType___mtype].val; /* _mtype on */ if (unlikely(var17 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mtype"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 1625); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 1689); fatal_exit(1); } var15 = var17; @@ -5383,7 +6201,7 @@ RET_LABEL16:(void)0; } } { -core___core__AbstractArray___core__abstract_collection__Sequence__push(var_, var15); /* Direct call array#AbstractArray#push on */ +core___core__AbstractArray___core__abstract_collection__Sequence__push(var_, var15); /* Direct call array$AbstractArray$push on */ } var_nexts = var_; } else { @@ -5397,11 +6215,14 @@ var18 = var_t->type->type_table[cltype19] == idtype20; } if (var18){ { -{ /* Inline model#MGenericType#arguments (var_t) on */ +{ /* Inline model$MGenericType$arguments (var_t) on */ var23 = var_t->attrs[COLOR_nitc__model__MGenericType___arguments].val; /* _arguments on */ if (unlikely(var23 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _arguments"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 1269); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 1305); fatal_exit(1); } var21 = var23; @@ -5420,11 +6241,14 @@ var24 = var_t->type->type_table[cltype25] == idtype26; } if (var24){ { -{ /* Inline model#MVirtualType#mproperty (var_t) on */ +{ /* Inline model$MVirtualType$mproperty (var_t) on */ var29 = var_t->attrs[COLOR_nitc__model__MVirtualType___mproperty].val; /* _mproperty on */ if (unlikely(var29 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 1369); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 1423); fatal_exit(1); } var27 = var29; @@ -5446,7 +6270,7 @@ goto RET_LABEL; } var32 = NEW_core__Array(&type_core__Array__nitc__MType); { -core___core__Array___core__kernel__Object__init(var32); /* Direct call array#Array#init on */ +core___core__Array___core__kernel__Object__init(var32); /* Direct call array$Array$init on */ } var_nexts = var32; var_33 = var_defs; @@ -5470,7 +6294,7 @@ var_d = var38; var39 = core___core__SequenceRead___Collection__first(var_defs); } { -{ /* Inline model#MVirtualTypeDef#bound (var39) on */ +{ /* Inline model$MVirtualTypeDef$bound (var39) on */ var42 = var39->attrs[COLOR_nitc__model__MVirtualTypeDef___bound].val; /* _bound on */ var40 = var42; RET_LABEL41:(void)0; @@ -5483,10 +6307,10 @@ var43 = 1; /* is null */ var43 = 0; /* arg is null but recv is not */ } if (0) { -{ /* Inline kernel#Object#== (var_next,((val*)NULL)) on */ +{ /* Inline kernel$Object$== (var_next,((val*)NULL)) on */ var_other = ((val*)NULL); { -{ /* Inline kernel#Object#is_same_instance (var_next,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var_next,var_other) on */ var48 = var_next == var_other; var46 = var48; goto RET_LABEL47; @@ -5505,7 +6329,7 @@ goto RET_LABEL; } else { } { -core___core__Array___core__abstract_collection__SimpleCollection__add(var_nexts, var_next); /* Direct call array#Array#add on */ +core___core__Array___core__abstract_collection__SimpleCollection__add(var_nexts, var_next); /* Direct call array$Array$add on */ } { ((void(*)(val* self))((((long)var_35&3)?class_info[((long)var_35&3)]:var_35->class)->vft[COLOR_core__abstract_collection__Iterator__next]))(var_35); /* next on */ @@ -5538,8 +6362,11 @@ var52 = var_t->type->type_table[cltype53] == idtype54; if (var52){ goto BREAK_label; } else { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Aborted"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property, 460); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property, 461); fatal_exit(1); } } @@ -5568,10 +6395,10 @@ var62 = poset___poset__POSet___has_edge(var_poset, var_next61, var_t); } if (var62){ { -{ /* Inline kernel#Object#== (var_mtype,var_next61) on */ +{ /* Inline kernel$Object$== (var_mtype,var_next61) on */ var_other = var_next61; { -{ /* Inline kernel#Object#is_same_instance (var_mtype,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var_mtype,var_other) on */ var67 = var_mtype == var_other; var65 = var67; goto RET_LABEL66; @@ -5585,124 +6412,152 @@ RET_LABEL64:(void)0; } if (var63){ if (unlikely(varonce==NULL)) { -var68 = NEW_core__NativeArray(5l, &type_core__NativeArray__core__String); +var68 = NEW_core__NativeArray((int)5l, &type_core__NativeArray__core__String); if (likely(varonce69!=NULL)) { var70 = varonce69; } else { var71 = "Error: circularity of virtual type definition: "; -var72 = core__flat___NativeString___to_s_full(var71, 47l, 47l); +var73 = (val*)(47l<<2|1); +var74 = (val*)(47l<<2|1); +var75 = (val*)((long)(0)<<2|3); +var76 = (val*)((long)(0)<<2|3); +var72 = core__flat___CString___to_s_unsafe(var71, var73, var74, var75, var76); var70 = var72; varonce69 = var70; } ((struct instance_core__NativeArray*)var68)->values[0]=var70; -if (likely(varonce73!=NULL)) { -var74 = varonce73; -} else { -var75 = " <-> "; -var76 = core__flat___NativeString___to_s_full(var75, 5l, 5l); -var74 = var76; -varonce73 = var74; -} -((struct instance_core__NativeArray*)var68)->values[2]=var74; if (likely(varonce77!=NULL)) { var78 = varonce77; } else { -var79 = "."; -var80 = core__flat___NativeString___to_s_full(var79, 1l, 1l); +var79 = " <-> "; +var81 = (val*)(5l<<2|1); +var82 = (val*)(5l<<2|1); +var83 = (val*)((long)(0)<<2|3); +var84 = (val*)((long)(0)<<2|3); +var80 = core__flat___CString___to_s_unsafe(var79, var81, var82, var83, var84); var78 = var80; varonce77 = var78; } -((struct instance_core__NativeArray*)var68)->values[4]=var78; +((struct instance_core__NativeArray*)var68)->values[2]=var78; +if (likely(varonce85!=NULL)) { +var86 = varonce85; +} else { +var87 = "."; +var89 = (val*)(1l<<2|1); +var90 = (val*)(1l<<2|1); +var91 = (val*)((long)(0)<<2|3); +var92 = (val*)((long)(0)<<2|3); +var88 = core__flat___CString___to_s_unsafe(var87, var89, var90, var91, var92); +var86 = var88; +varonce85 = var86; +} +((struct instance_core__NativeArray*)var68)->values[4]=var86; } else { var68 = varonce; varonce = NULL; } { -var81 = ((val*(*)(val* self))(var_next61->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_next61); /* to_s on */ +var93 = ((val*(*)(val* self))(var_next61->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_next61); /* to_s on */ } -((struct instance_core__NativeArray*)var68)->values[1]=var81; +((struct instance_core__NativeArray*)var68)->values[1]=var93; { -var82 = ((val*(*)(val* self))(var_t->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_t); /* to_s on */ +var94 = ((val*(*)(val* self))(var_t->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_t); /* to_s on */ } -((struct instance_core__NativeArray*)var68)->values[3]=var82; +((struct instance_core__NativeArray*)var68)->values[3]=var94; { -var83 = ((val*(*)(val* self))(var68->class->vft[COLOR_core__abstract_text__NativeArray__native_to_s]))(var68); /* native_to_s on */ +var95 = ((val*(*)(val* self))(var68->class->vft[COLOR_core__abstract_text__NativeArray__native_to_s]))(var68); /* native_to_s on */ } varonce = var68; { -nitc___nitc__ModelBuilder___error(self, var_node, var83); /* Direct call modelbuilder_base#ModelBuilder#error on */ +nitc___nitc__ModelBuilder___error(self, var_node, var95); /* Direct call modelbuilder_base$ModelBuilder$error on */ } } else { -if (unlikely(varonce84==NULL)) { -var85 = NEW_core__NativeArray(7l, &type_core__NativeArray__core__String); -if (likely(varonce86!=NULL)) { -var87 = varonce86; +if (unlikely(varonce96==NULL)) { +var97 = NEW_core__NativeArray((int)7l, &type_core__NativeArray__core__String); +if (likely(varonce98!=NULL)) { +var99 = varonce98; } else { -var88 = "Error: circularity of virtual type definition: "; -var89 = core__flat___NativeString___to_s_full(var88, 47l, 47l); -var87 = var89; -varonce86 = var87; +var100 = "Error: circularity of virtual type definition: "; +var102 = (val*)(47l<<2|1); +var103 = (val*)(47l<<2|1); +var104 = (val*)((long)(0)<<2|3); +var105 = (val*)((long)(0)<<2|3); +var101 = core__flat___CString___to_s_unsafe(var100, var102, var103, var104, var105); +var99 = var101; +varonce98 = var99; } -((struct instance_core__NativeArray*)var85)->values[0]=var87; -if (likely(varonce90!=NULL)) { -var91 = varonce90; +((struct instance_core__NativeArray*)var97)->values[0]=var99; +if (likely(varonce106!=NULL)) { +var107 = varonce106; } else { -var92 = " -> "; -var93 = core__flat___NativeString___to_s_full(var92, 4l, 4l); -var91 = var93; -varonce90 = var91; +var108 = " -> "; +var110 = (val*)(4l<<2|1); +var111 = (val*)(4l<<2|1); +var112 = (val*)((long)(0)<<2|3); +var113 = (val*)((long)(0)<<2|3); +var109 = core__flat___CString___to_s_unsafe(var108, var110, var111, var112, var113); +var107 = var109; +varonce106 = var107; } -((struct instance_core__NativeArray*)var85)->values[2]=var91; -if (likely(varonce94!=NULL)) { -var95 = varonce94; +((struct instance_core__NativeArray*)var97)->values[2]=var107; +if (likely(varonce114!=NULL)) { +var115 = varonce114; } else { -var96 = " <-> "; -var97 = core__flat___NativeString___to_s_full(var96, 5l, 5l); -var95 = var97; -varonce94 = var95; +var116 = " <-> "; +var118 = (val*)(5l<<2|1); +var119 = (val*)(5l<<2|1); +var120 = (val*)((long)(0)<<2|3); +var121 = (val*)((long)(0)<<2|3); +var117 = core__flat___CString___to_s_unsafe(var116, var118, var119, var120, var121); +var115 = var117; +varonce114 = var115; } -((struct instance_core__NativeArray*)var85)->values[4]=var95; -if (likely(varonce98!=NULL)) { -var99 = varonce98; +((struct instance_core__NativeArray*)var97)->values[4]=var115; +if (likely(varonce122!=NULL)) { +var123 = varonce122; } else { -var100 = "."; -var101 = core__flat___NativeString___to_s_full(var100, 1l, 1l); -var99 = var101; -varonce98 = var99; +var124 = "."; +var126 = (val*)(1l<<2|1); +var127 = (val*)(1l<<2|1); +var128 = (val*)((long)(0)<<2|3); +var129 = (val*)((long)(0)<<2|3); +var125 = core__flat___CString___to_s_unsafe(var124, var126, var127, var128, var129); +var123 = var125; +varonce122 = var123; } -((struct instance_core__NativeArray*)var85)->values[6]=var99; +((struct instance_core__NativeArray*)var97)->values[6]=var123; } else { -var85 = varonce84; -varonce84 = NULL; +var97 = varonce96; +varonce96 = NULL; } { -var102 = ((val*(*)(val* self))(var_mtype->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_mtype); /* to_s on */ +var130 = ((val*(*)(val* self))(var_mtype->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_mtype); /* to_s on */ } -((struct instance_core__NativeArray*)var85)->values[1]=var102; +((struct instance_core__NativeArray*)var97)->values[1]=var130; { -var103 = ((val*(*)(val* self))(var_next61->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_next61); /* to_s on */ +var131 = ((val*(*)(val* self))(var_next61->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_next61); /* to_s on */ } -((struct instance_core__NativeArray*)var85)->values[3]=var103; +((struct instance_core__NativeArray*)var97)->values[3]=var131; { -var104 = ((val*(*)(val* self))(var_t->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_t); /* to_s on */ +var132 = ((val*(*)(val* self))(var_t->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_t); /* to_s on */ } -((struct instance_core__NativeArray*)var85)->values[5]=var104; +((struct instance_core__NativeArray*)var97)->values[5]=var132; { -var105 = ((val*(*)(val* self))(var85->class->vft[COLOR_core__abstract_text__NativeArray__native_to_s]))(var85); /* native_to_s on */ +var133 = ((val*(*)(val* self))(var97->class->vft[COLOR_core__abstract_text__NativeArray__native_to_s]))(var97); /* native_to_s on */ } -varonce84 = var85; +varonce96 = var97; { -nitc___nitc__ModelBuilder___error(self, var_node, var105); /* Direct call modelbuilder_base#ModelBuilder#error on */ +nitc___nitc__ModelBuilder___error(self, var_node, var133); /* Direct call modelbuilder_base$ModelBuilder$error on */ } } var = 0; goto RET_LABEL; } else { { -poset___poset__POSet___add_edge(var_poset, var_t, var_next61); /* Direct call poset#POSet#add_edge on */ +poset___poset__POSet___add_edge(var_poset, var_t, var_next61); /* Direct call poset$POSet$add_edge on */ } { -core___core__Sequence___SimpleCollection__add(var_todo, var_next61); /* Direct call abstract_collection#Sequence#add on */ +core___core__Sequence___SimpleCollection__add(var_todo, var_next61); /* Direct call abstract_collection$Sequence$add on */ } } { @@ -5714,17 +6569,17 @@ BREAK_label59: (void)0; ((void(*)(val* self))((((long)var_57&3)?class_info[((long)var_57&3)]:var_57->class)->vft[COLOR_core__abstract_collection__Iterator__finish]))(var_57); /* finish on */ } } else { -goto BREAK_label106; +goto BREAK_label134; } BREAK_label: (void)0; } -BREAK_label106: (void)0; +BREAK_label134: (void)0; var = 1; goto RET_LABEL; RET_LABEL:; return var; } -/* method modelize_property#MPropDef#has_supercall for (self: MPropDef): Bool */ +/* method modelize_property$MPropDef$has_supercall for (self: MPropDef): Bool */ short int nitc__modelize_property___MPropDef___has_supercall(val* self) { short int var /* : Bool */; short int var1 /* : Bool */; @@ -5733,12 +6588,12 @@ var = var1; RET_LABEL:; return var; } -/* method modelize_property#MPropDef#has_supercall= for (self: MPropDef, Bool) */ +/* method modelize_property$MPropDef$has_supercall= for (self: MPropDef, Bool) */ void nitc__modelize_property___MPropDef___has_supercall_61d(val* self, short int p0) { self->attrs[COLOR_nitc__modelize_property__MPropDef___has_supercall].s = p0; /* _has_supercall on */ RET_LABEL:; } -/* method modelize_property#AClassdef#build_properties_is_done for (self: AClassdef): Bool */ +/* method modelize_property$AClassdef$build_properties_is_done for (self: AClassdef): Bool */ short int nitc__modelize_property___AClassdef___build_properties_is_done(val* self) { short int var /* : Bool */; short int var1 /* : Bool */; @@ -5747,26 +6602,12 @@ var = var1; RET_LABEL:; return var; } -/* method modelize_property#AClassdef#build_properties_is_done= for (self: AClassdef, Bool) */ +/* method modelize_property$AClassdef$build_properties_is_done= for (self: AClassdef, Bool) */ void nitc__modelize_property___AClassdef___build_properties_is_done_61d(val* self, short int p0) { self->attrs[COLOR_nitc__modelize_property__AClassdef___build_properties_is_done].s = p0; /* _build_properties_is_done on */ RET_LABEL:; } -/* method modelize_property#AClassdef#mfree_init for (self: AClassdef): nullable MMethodDef */ -val* nitc__modelize_property___AClassdef___mfree_init(val* self) { -val* var /* : nullable MMethodDef */; -val* var1 /* : nullable MMethodDef */; -var1 = self->attrs[COLOR_nitc__modelize_property__AClassdef___mfree_init].val; /* _mfree_init on */ -var = var1; -RET_LABEL:; -return var; -} -/* method modelize_property#AClassdef#mfree_init= for (self: AClassdef, nullable MMethodDef) */ -void nitc__modelize_property___AClassdef___mfree_init_61d(val* self, val* p0) { -self->attrs[COLOR_nitc__modelize_property__AClassdef___mfree_init].val = p0; /* _mfree_init on */ -RET_LABEL:; -} -/* method modelize_property#MClass#root_init for (self: MClass): nullable MMethodDef */ +/* method modelize_property$MClass$root_init for (self: MClass): nullable MMethodDef */ val* nitc__modelize_property___MClass___root_init(val* self) { val* var /* : nullable MMethodDef */; val* var1 /* : nullable MMethodDef */; @@ -5775,26 +6616,29 @@ var = var1; RET_LABEL:; return var; } -/* method modelize_property#MClass#root_init= for (self: MClass, nullable MMethodDef) */ +/* method modelize_property$MClass$root_init= for (self: MClass, nullable MMethodDef) */ void nitc__modelize_property___MClass___root_init_61d(val* self, val* p0) { self->attrs[COLOR_nitc__modelize_property__MClass___root_init].val = p0; /* _root_init on */ RET_LABEL:; } -/* method modelize_property#MClassDef#mprop2npropdef for (self: MClassDef): Map[MProperty, APropdef] */ +/* method modelize_property$MClassDef$mprop2npropdef for (self: MClassDef): Map[MProperty, APropdef] */ val* nitc__modelize_property___MClassDef___mprop2npropdef(val* self) { val* var /* : Map[MProperty, APropdef] */; val* var1 /* : Map[MProperty, APropdef] */; var1 = self->attrs[COLOR_nitc__modelize_property__MClassDef___mprop2npropdef].val; /* _mprop2npropdef on */ if (unlikely(var1 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mprop2npropdef"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property, 506); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property, 504); fatal_exit(1); } var = var1; RET_LABEL:; return var; } -/* method modelize_property#MClassDef#build_self_type for (self: MClassDef, ModelBuilder, AClassdef) */ +/* method modelize_property$MClassDef$build_self_type for (self: MClassDef, ModelBuilder, AClassdef) */ void nitc__modelize_property___MClassDef___build_self_type(val* self, val* p0, val* p1) { val* var_modelbuilder /* var modelbuilder: ModelBuilder */; val* var_nclassdef /* var nclassdef: AClassdef */; @@ -5802,74 +6646,94 @@ short int var /* : Bool */; short int var1 /* : Bool */; static val* varonce; val* var2 /* : String */; -char* var3 /* : NativeString */; +char* var3 /* : CString */; val* var4 /* : String */; +val* var5 /* : nullable Int */; +val* var6 /* : nullable Int */; +val* var7 /* : nullable Bool */; +val* var8 /* : nullable Bool */; val* var_name /* var name: String */; -val* var5 /* : nullable MProperty */; +val* var9 /* : nullable MProperty */; val* var_mprop /* var mprop: nullable MProperty */; -short int var6 /* : Bool */; -short int var7 /* : Bool */; -val* var_other /* var other: nullable Object */; -short int var9 /* : Bool */; +short int var10 /* : Bool */; short int var11 /* : Bool */; -short int var12 /* : Bool */; +val* var_other /* var other: nullable Object */; +short int var13 /* : Bool */; +short int var15 /* : Bool */; +short int var16 /* : Bool */; int cltype; int idtype; -short int var13 /* : Bool */; -val* var14 /* : MPropDef */; -val* var16 /* : MPropDef */; +short int var17 /* : Bool */; +val* var18 /* : MPropDef */; +val* var20 /* : MPropDef */; val* var_intro /* var intro: MVirtualTypeDef */; -val* var17 /* : MClassDef */; -val* var19 /* : MClassDef */; +val* var21 /* : MClassDef */; +val* var23 /* : MClassDef */; val* var_intro_mclassdef /* var intro_mclassdef: MClassDef */; -short int var20 /* : Bool */; -short int var22 /* : Bool */; short int var24 /* : Bool */; -val* var25 /* : HashMap[MPropDef, APropdef] */; -val* var27 /* : HashMap[MPropDef, APropdef] */; -val* var28 /* : nullable Object */; +short int var26 /* : Bool */; +short int var28 /* : Bool */; +val* var29 /* : HashMap[MPropDef, APropdef] */; +val* var31 /* : HashMap[MPropDef, APropdef] */; +val* var32 /* : nullable Object */; val* var_nintro /* var nintro: APropdef */; -val* var29 /* : MClass */; -val* var31 /* : MClass */; -val* var32 /* : String */; -val* var34 /* : String */; -static val* varonce35; +val* var33 /* : MClass */; +val* var35 /* : MClass */; val* var36 /* : String */; -char* var37 /* : NativeString */; val* var38 /* : String */; -short int var39 /* : Bool */; -val* var_other41 /* var other: nullable Object */; -short int var42 /* : Bool */; -short int var43 /* : Bool */; -static val* varonce44; -val* var45 /* : String */; -char* var46 /* : NativeString */; -val* var47 /* : String */; -val* var48 /* : MVisibility */; -val* var50 /* : MVisibility */; -val* var51 /* : Sys */; -val* var52 /* : MVisibility */; -short int var53 /* : Bool */; -short int var55 /* : Bool */; -short int var56 /* : Bool */; -static val* varonce57; -val* var58 /* : String */; -char* var59 /* : NativeString */; -val* var60 /* : String */; -short int var61 /* : Bool */; -short int var63 /* : Bool */; -static val* varonce64; -val* var65 /* : String */; -char* var66 /* : NativeString */; -val* var67 /* : String */; -val* var68 /* : MVirtualTypeDef */; -val* var69 /* : Location */; -val* var71 /* : Location */; +static val* varonce39; +val* var40 /* : String */; +char* var41 /* : CString */; +val* var42 /* : String */; +val* var43 /* : nullable Int */; +val* var44 /* : nullable Int */; +val* var45 /* : nullable Bool */; +val* var46 /* : nullable Bool */; +short int var47 /* : Bool */; +val* var_other49 /* var other: nullable Object */; +short int var50 /* : Bool */; +short int var51 /* : Bool */; +static val* varonce52; +val* var53 /* : String */; +char* var54 /* : CString */; +val* var55 /* : String */; +val* var56 /* : nullable Int */; +val* var57 /* : nullable Int */; +val* var58 /* : nullable Bool */; +val* var59 /* : nullable Bool */; +val* var60 /* : MVisibility */; +val* var62 /* : MVisibility */; +val* var63 /* : Sys */; +val* var64 /* : MVisibility */; +short int var65 /* : Bool */; +short int var67 /* : Bool */; +short int var68 /* : Bool */; +static val* varonce69; +val* var70 /* : String */; +char* var71 /* : CString */; +val* var72 /* : String */; +val* var73 /* : nullable Int */; +val* var74 /* : nullable Int */; +val* var75 /* : nullable Bool */; +val* var76 /* : nullable Bool */; +short int var77 /* : Bool */; +short int var79 /* : Bool */; +static val* varonce80; +val* var81 /* : String */; +char* var82 /* : CString */; +val* var83 /* : String */; +val* var84 /* : nullable Int */; +val* var85 /* : nullable Int */; +val* var86 /* : nullable Bool */; +val* var87 /* : nullable Bool */; +val* var88 /* : MVirtualTypeDef */; +val* var89 /* : Location */; +val* var91 /* : Location */; val* var_mpropdef /* var mpropdef: MVirtualTypeDef */; -val* var72 /* : MClass */; -val* var74 /* : MClass */; -val* var75 /* : MClassType */; -val* var77 /* : MClassType */; +val* var92 /* : MClass */; +val* var94 /* : MClass */; +val* var95 /* : MClassType */; +val* var97 /* : MClassType */; var_modelbuilder = p0; var_nclassdef = p1; { @@ -5884,38 +6748,42 @@ if (likely(varonce!=NULL)) { var2 = varonce; } else { var3 = "SELF"; -var4 = core__flat___NativeString___to_s_full(var3, 4l, 4l); +var5 = (val*)(4l<<2|1); +var6 = (val*)(4l<<2|1); +var7 = (val*)((long)(0)<<2|3); +var8 = (val*)((long)(0)<<2|3); +var4 = core__flat___CString___to_s_unsafe(var3, var5, var6, var7, var8); var2 = var4; varonce = var2; } var_name = var2; { -var5 = nitc___nitc__ModelBuilder___try_get_mproperty_by_name(var_modelbuilder, var_nclassdef, self, var_name); +var9 = nitc___nitc__ModelBuilder___try_get_mproperty_by_name(var_modelbuilder, var_nclassdef, self, var_name); } -var_mprop = var5; +var_mprop = var9; if (var_mprop == NULL) { -var6 = 1; /* is null */ +var10 = 1; /* is null */ } else { -var6 = 0; /* arg is null but recv is not */ +var10 = 0; /* arg is null but recv is not */ } if (0) { -{ /* Inline kernel#Object#== (var_mprop,((val*)NULL)) on */ +{ /* Inline kernel$Object$== (var_mprop,((val*)NULL)) on */ var_other = ((val*)NULL); { -{ /* Inline kernel#Object#is_same_instance (var_mprop,var_other) on */ -var11 = var_mprop == var_other; -var9 = var11; -goto RET_LABEL10; -RET_LABEL10:(void)0; +{ /* Inline kernel$Object$is_same_instance (var_mprop,var_other) on */ +var15 = var_mprop == var_other; +var13 = var15; +goto RET_LABEL14; +RET_LABEL14:(void)0; } } -var7 = var9; -goto RET_LABEL8; -RET_LABEL8:(void)0; +var11 = var13; +goto RET_LABEL12; +RET_LABEL12:(void)0; } -var6 = var7; +var10 = var11; } -if (var6){ +if (var10){ goto RET_LABEL; } else { } @@ -5923,257 +6791,300 @@ goto RET_LABEL; cltype = type_nitc__MVirtualTypeProp.color; idtype = type_nitc__MVirtualTypeProp.id; if(cltype >= var_mprop->type->table_size) { -var12 = 0; +var16 = 0; } else { -var12 = var_mprop->type->type_table[cltype] == idtype; +var16 = var_mprop->type->type_table[cltype] == idtype; } -var13 = !var12; -if (var13){ +var17 = !var16; +if (var17){ goto RET_LABEL; } else { } { -{ /* Inline model#MProperty#intro (var_mprop) on */ -var16 = var_mprop->attrs[COLOR_nitc__model__MProperty___intro].val; /* _intro on */ -if (unlikely(var16 == NULL)) { +{ /* Inline model$MProperty$intro (var_mprop) on */ +var20 = var_mprop->attrs[COLOR_nitc__model__MProperty___intro].val; /* _intro on */ +if (unlikely(var20 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _intro"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 1986); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2097); fatal_exit(1); } -var14 = var16; -RET_LABEL15:(void)0; +var18 = var20; +RET_LABEL19:(void)0; } } -var_intro = var14; +var_intro = var18; { -{ /* Inline model#MPropDef#mclassdef (var_intro) on */ -var19 = var_intro->attrs[COLOR_nitc__model__MPropDef___mclassdef].val; /* _mclassdef on */ -if (unlikely(var19 == NULL)) { +{ /* Inline model$MPropDef$mclassdef (var_intro) on */ +var23 = var_intro->attrs[COLOR_nitc__model__MPropDef___mclassdef].val; /* _mclassdef on */ +if (unlikely(var23 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclassdef"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2227); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2354); fatal_exit(1); } -var17 = var19; -RET_LABEL18:(void)0; +var21 = var23; +RET_LABEL22:(void)0; } } -var_intro_mclassdef = var17; +var_intro_mclassdef = var21; { -{ /* Inline kernel#Object#== (var_intro_mclassdef,self) on */ +{ /* Inline kernel$Object$== (var_intro_mclassdef,self) on */ var_other = self; { -{ /* Inline kernel#Object#is_same_instance (var_intro_mclassdef,var_other) on */ -var24 = var_intro_mclassdef == var_other; -var22 = var24; -goto RET_LABEL23; -RET_LABEL23:(void)0; +{ /* Inline kernel$Object$is_same_instance (var_intro_mclassdef,var_other) on */ +var28 = var_intro_mclassdef == var_other; +var26 = var28; +goto RET_LABEL27; +RET_LABEL27:(void)0; } } -var20 = var22; -goto RET_LABEL21; -RET_LABEL21:(void)0; +var24 = var26; +goto RET_LABEL25; +RET_LABEL25:(void)0; } } -if (var20){ +if (var24){ { -{ /* Inline modelize_property#ModelBuilder#mpropdef2npropdef (var_modelbuilder) on */ -var27 = var_modelbuilder->attrs[COLOR_nitc__modelize_property__ModelBuilder___mpropdef2npropdef].val; /* _mpropdef2npropdef on */ -if (unlikely(var27 == NULL)) { +{ /* Inline modelize_property$ModelBuilder$mpropdef2npropdef (var_modelbuilder) on */ +var31 = var_modelbuilder->attrs[COLOR_nitc__modelize_property__ModelBuilder___mpropdef2npropdef].val; /* _mpropdef2npropdef on */ +if (unlikely(var31 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mpropdef2npropdef"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property, 40); fatal_exit(1); } -var25 = var27; -RET_LABEL26:(void)0; +var29 = var31; +RET_LABEL30:(void)0; } } { -var28 = core___core__HashMap___core__abstract_collection__MapRead___91d_93d(var25, var_intro); +var32 = core___core__HashMap___core__abstract_collection__MapRead___91d_93d(var29, var_intro); } -var_nintro = var28; +var_nintro = var32; { -{ /* Inline model#MClassDef#mclass (var_intro_mclassdef) on */ -var31 = var_intro_mclassdef->attrs[COLOR_nitc__model__MClassDef___mclass].val; /* _mclass on */ -if (unlikely(var31 == NULL)) { +{ /* Inline model$MClassDef$mclass (var_intro_mclassdef) on */ +var35 = var_intro_mclassdef->attrs[COLOR_nitc__model__MClassDef___mclass].val; /* _mclass on */ +if (unlikely(var35 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclass"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 576); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 591); fatal_exit(1); } -var29 = var31; -RET_LABEL30:(void)0; +var33 = var35; +RET_LABEL34:(void)0; } } { -{ /* Inline model#MClass#name (var29) on */ -var34 = var29->attrs[COLOR_nitc__model__MClass___name].val; /* _name on */ -if (unlikely(var34 == NULL)) { +{ /* Inline model$MClass$name (var33) on */ +var38 = var33->attrs[COLOR_nitc__model__MClass___name].val; /* _name on */ +if (unlikely(var38 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _name"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 385); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 396); fatal_exit(1); } -var32 = var34; -RET_LABEL33:(void)0; +var36 = var38; +RET_LABEL37:(void)0; } } -if (likely(varonce35!=NULL)) { -var36 = varonce35; +if (likely(varonce39!=NULL)) { +var40 = varonce39; } else { -var37 = "Object"; -var38 = core__flat___NativeString___to_s_full(var37, 6l, 6l); -var36 = var38; -varonce35 = var36; +var41 = "Object"; +var43 = (val*)(6l<<2|1); +var44 = (val*)(6l<<2|1); +var45 = (val*)((long)(0)<<2|3); +var46 = (val*)((long)(0)<<2|3); +var42 = core__flat___CString___to_s_unsafe(var41, var43, var44, var45, var46); +var40 = var42; +varonce39 = var40; } { -{ /* Inline kernel#Object#!= (var32,var36) on */ -var_other41 = var36; +{ /* Inline kernel$Object$!= (var36,var40) on */ +var_other49 = var40; { -var42 = ((short int(*)(val* self, val* p0))(var32->class->vft[COLOR_core__kernel__Object___61d_61d]))(var32, var_other41); /* == on */ +var50 = ((short int(*)(val* self, val* p0))(var36->class->vft[COLOR_core__kernel__Object___61d_61d]))(var36, var_other49); /* == on */ } -var43 = !var42; -var39 = var43; -goto RET_LABEL40; -RET_LABEL40:(void)0; +var51 = !var50; +var47 = var51; +goto RET_LABEL48; +RET_LABEL48:(void)0; } } -if (var39){ -if (likely(varonce44!=NULL)) { -var45 = varonce44; +if (var47){ +if (likely(varonce52!=NULL)) { +var53 = varonce52; } else { -var46 = "Error: the virtual type `SELF` must be declared in `Object`."; -var47 = core__flat___NativeString___to_s_full(var46, 60l, 60l); -var45 = var47; -varonce44 = var45; +var54 = "Error: the virtual type `SELF` must be declared in `Object`."; +var56 = (val*)(60l<<2|1); +var57 = (val*)(60l<<2|1); +var58 = (val*)((long)(0)<<2|3); +var59 = (val*)((long)(0)<<2|3); +var55 = core__flat___CString___to_s_unsafe(var54, var56, var57, var58, var59); +var53 = var55; +varonce52 = var53; } { -nitc___nitc__ModelBuilder___error(var_modelbuilder, var_nintro, var45); /* Direct call modelbuilder_base#ModelBuilder#error on */ +nitc___nitc__ModelBuilder___error(var_modelbuilder, var_nintro, var53); /* Direct call modelbuilder_base$ModelBuilder$error on */ } } else { } { -{ /* Inline model#MProperty#visibility (var_mprop) on */ -var50 = var_mprop->attrs[COLOR_nitc__model__MProperty___visibility].val; /* _visibility on */ -if (unlikely(var50 == NULL)) { +{ /* Inline model$MProperty$visibility (var_mprop) on */ +var62 = var_mprop->attrs[COLOR_nitc__model__MProperty___visibility].val; /* _visibility on */ +if (unlikely(var62 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _visibility"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 1967); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2078); fatal_exit(1); } -var48 = var50; -RET_LABEL49:(void)0; +var60 = var62; +RET_LABEL61:(void)0; } } -var51 = glob_sys; +var63 = glob_sys; { -var52 = nitc__model_base___core__Sys___public_visibility(var51); +var64 = nitc__model_base___core__Sys___public_visibility(var63); } { -{ /* Inline kernel#Object#!= (var48,var52) on */ -var_other41 = var52; +{ /* Inline kernel$Object$!= (var60,var64) on */ +var_other49 = var64; { -var55 = ((short int(*)(val* self, val* p0))(var48->class->vft[COLOR_core__kernel__Object___61d_61d]))(var48, var_other41); /* == on */ +var67 = ((short int(*)(val* self, val* p0))(var60->class->vft[COLOR_core__kernel__Object___61d_61d]))(var60, var_other49); /* == on */ } -var56 = !var55; -var53 = var56; -goto RET_LABEL54; -RET_LABEL54:(void)0; +var68 = !var67; +var65 = var68; +goto RET_LABEL66; +RET_LABEL66:(void)0; } } -if (var53){ -if (likely(varonce57!=NULL)) { -var58 = varonce57; +if (var65){ +if (likely(varonce69!=NULL)) { +var70 = varonce69; } else { -var59 = "Error: the virtual type `SELF` must be public."; -var60 = core__flat___NativeString___to_s_full(var59, 46l, 46l); -var58 = var60; -varonce57 = var58; +var71 = "Error: the virtual type `SELF` must be public."; +var73 = (val*)(46l<<2|1); +var74 = (val*)(46l<<2|1); +var75 = (val*)((long)(0)<<2|3); +var76 = (val*)((long)(0)<<2|3); +var72 = core__flat___CString___to_s_unsafe(var71, var73, var74, var75, var76); +var70 = var72; +varonce69 = var70; } { -nitc___nitc__ModelBuilder___error(var_modelbuilder, var_nintro, var58); /* Direct call modelbuilder_base#ModelBuilder#error on */ +nitc___nitc__ModelBuilder___error(var_modelbuilder, var_nintro, var70); /* Direct call modelbuilder_base$ModelBuilder$error on */ } } else { } { -{ /* Inline model#MVirtualTypeDef#is_fixed (var_intro) on */ -var63 = var_intro->attrs[COLOR_nitc__model__MVirtualTypeDef___is_fixed].s; /* _is_fixed on */ -var61 = var63; -RET_LABEL62:(void)0; +{ /* Inline model$MVirtualTypeDef$is_fixed (var_intro) on */ +var79 = var_intro->attrs[COLOR_nitc__model__MVirtualTypeDef___is_fixed].s; /* _is_fixed on */ +var77 = var79; +RET_LABEL78:(void)0; } } -if (var61){ -if (likely(varonce64!=NULL)) { -var65 = varonce64; +if (var77){ +if (likely(varonce80!=NULL)) { +var81 = varonce80; } else { -var66 = "Error: the virtual type `SELF` cannot be fixed."; -var67 = core__flat___NativeString___to_s_full(var66, 47l, 47l); -var65 = var67; -varonce64 = var65; +var82 = "Error: the virtual type `SELF` cannot be fixed."; +var84 = (val*)(47l<<2|1); +var85 = (val*)(47l<<2|1); +var86 = (val*)((long)(0)<<2|3); +var87 = (val*)((long)(0)<<2|3); +var83 = core__flat___CString___to_s_unsafe(var82, var84, var85, var86, var87); +var81 = var83; +varonce80 = var81; } { -nitc___nitc__ModelBuilder___error(var_modelbuilder, var_nintro, var65); /* Direct call modelbuilder_base#ModelBuilder#error on */ +nitc___nitc__ModelBuilder___error(var_modelbuilder, var_nintro, var81); /* Direct call modelbuilder_base$ModelBuilder$error on */ } } else { } goto RET_LABEL; } else { } -var68 = NEW_nitc__MVirtualTypeDef(&type_nitc__MVirtualTypeDef); +var88 = NEW_nitc__MVirtualTypeDef(&type_nitc__MVirtualTypeDef); { -{ /* Inline model#MClassDef#location (self) on */ -var71 = self->attrs[COLOR_nitc__model__MClassDef___location].val; /* _location on */ -if (unlikely(var71 == NULL)) { +{ /* Inline model$MClassDef$location (self) on */ +var91 = self->attrs[COLOR_nitc__model__MClassDef___location].val; /* _location on */ +if (unlikely(var91 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _location"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 591); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 606); fatal_exit(1); } -var69 = var71; -RET_LABEL70:(void)0; +var89 = var91; +RET_LABEL90:(void)0; } } { -((void(*)(val* self, val* p0))(var68->class->vft[COLOR_nitc__model__MPropDef__mclassdef_61d]))(var68, self); /* mclassdef= on */ +((void(*)(val* self, val* p0))(var88->class->vft[COLOR_nitc__model__MPropDef__mclassdef_61d]))(var88, self); /* mclassdef= on */ } { -((void(*)(val* self, val* p0))(var68->class->vft[COLOR_nitc__model__MPropDef__mproperty_61d]))(var68, var_mprop); /* mproperty= on */ +((void(*)(val* self, val* p0))(var88->class->vft[COLOR_nitc__model__MPropDef__mproperty_61d]))(var88, var_mprop); /* mproperty= on */ } { -((void(*)(val* self, val* p0))(var68->class->vft[COLOR_nitc__model__MPropDef__location_61d]))(var68, var69); /* location= on */ +((void(*)(val* self, val* p0))(var88->class->vft[COLOR_nitc__model__MPropDef__location_61d]))(var88, var89); /* location= on */ } { -((void(*)(val* self))(var68->class->vft[COLOR_core__kernel__Object__init]))(var68); /* init on */ +((void(*)(val* self))(var88->class->vft[COLOR_core__kernel__Object__init]))(var88); /* init on */ } -var_mpropdef = var68; +var_mpropdef = var88; { -{ /* Inline model#MClassDef#mclass (self) on */ -var74 = self->attrs[COLOR_nitc__model__MClassDef___mclass].val; /* _mclass on */ -if (unlikely(var74 == NULL)) { +{ /* Inline model$MClassDef$mclass (self) on */ +var94 = self->attrs[COLOR_nitc__model__MClassDef___mclass].val; /* _mclass on */ +if (unlikely(var94 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclass"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 576); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 591); fatal_exit(1); } -var72 = var74; -RET_LABEL73:(void)0; +var92 = var94; +RET_LABEL93:(void)0; } } { -{ /* Inline model#MClass#mclass_type (var72) on */ -var77 = var72->attrs[COLOR_nitc__model__MClass___mclass_type].val; /* _mclass_type on */ -if (unlikely(var77 == NULL)) { +{ /* Inline model$MClass$mclass_type (var92) on */ +var97 = var92->attrs[COLOR_nitc__model__MClass___mclass_type].val; /* _mclass_type on */ +if (unlikely(var97 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclass_type"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 507); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 520); fatal_exit(1); } -var75 = var77; -RET_LABEL76:(void)0; +var95 = var97; +RET_LABEL96:(void)0; } } { -{ /* Inline model#MVirtualTypeDef#bound= (var_mpropdef,var75) on */ -var_mpropdef->attrs[COLOR_nitc__model__MVirtualTypeDef___bound].val = var75; /* _bound on */ -RET_LABEL78:(void)0; +{ /* Inline model$MVirtualTypeDef$bound= (var_mpropdef,var95) on */ +var_mpropdef->attrs[COLOR_nitc__model__MVirtualTypeDef___bound].val = var95; /* _bound on */ +RET_LABEL98:(void)0; } } RET_LABEL:; } -/* method modelize_property#APropdef#mpropdef for (self: APropdef): nullable MPropDef */ +/* method modelize_property$APropdef$mpropdef for (self: APropdef): nullable MPropDef */ val* nitc__modelize_property___APropdef___mpropdef(val* self) { val* var /* : nullable MPropDef */; val* var1 /* : nullable MPropDef */; @@ -6182,7 +7093,7 @@ var = var1; RET_LABEL:; return var; } -/* method modelize_property#APropdef#mpropdef= for (self: APropdef, nullable MPropDef) */ +/* method modelize_property$APropdef$mpropdef= for (self: APropdef, nullable MPropDef) */ void nitc__modelize_property___APropdef___mpropdef_61d(val* self, val* p0) { short int var /* : Bool */; int cltype; @@ -6206,13 +7117,13 @@ var = p0->type->type_table[cltype] == idtype; if (unlikely(!var)) { var_class_name = p0 == NULL ? "null" : p0->type->name; PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable MPROPDEF", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property, 559); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property, 557); fatal_exit(1); } self->attrs[COLOR_nitc__modelize_property__APropdef___mpropdef].val = p0; /* _mpropdef on */ RET_LABEL:; } -/* method modelize_property#APropdef#build_property for (self: APropdef, ModelBuilder, MClassDef) */ +/* method modelize_property$APropdef$build_property for (self: APropdef, ModelBuilder, MClassDef) */ void nitc__modelize_property___APropdef___build_property(val* self, val* p0, val* p1) { val* var_modelbuilder /* var modelbuilder: ModelBuilder */; val* var_mclassdef /* var mclassdef: MClassDef */; @@ -6220,19 +7131,19 @@ var_modelbuilder = p0; var_mclassdef = p1; RET_LABEL:; } -/* method modelize_property#APropdef#build_signature for (self: APropdef, ModelBuilder) */ +/* method modelize_property$APropdef$build_signature for (self: APropdef, ModelBuilder) */ void nitc__modelize_property___APropdef___build_signature(val* self, val* p0) { val* var_modelbuilder /* var modelbuilder: ModelBuilder */; var_modelbuilder = p0; RET_LABEL:; } -/* method modelize_property#APropdef#check_signature for (self: APropdef, ModelBuilder) */ +/* method modelize_property$APropdef$check_signature for (self: APropdef, ModelBuilder) */ void nitc__modelize_property___APropdef___check_signature(val* self, val* p0) { val* var_modelbuilder /* var modelbuilder: ModelBuilder */; var_modelbuilder = p0; RET_LABEL:; } -/* method modelize_property#APropdef#new_property_visibility for (self: APropdef, ModelBuilder, MClassDef, nullable AVisibility): MVisibility */ +/* method modelize_property$APropdef$new_property_visibility for (self: APropdef, ModelBuilder, MClassDef, nullable AVisibility): MVisibility */ val* nitc__modelize_property___APropdef___new_property_visibility(val* self, val* p0, val* p1, val* p2) { val* var /* : MVisibility */; val* var_modelbuilder /* var modelbuilder: ModelBuilder */; @@ -6255,51 +7166,67 @@ short int var14 /* : Bool */; short int var16 /* : Bool */; static val* varonce; val* var17 /* : String */; -char* var18 /* : NativeString */; +char* var18 /* : CString */; val* var19 /* : String */; -val* var20 /* : Sys */; -val* var21 /* : MVisibility */; -val* var22 /* : MClass */; -val* var24 /* : MClass */; +val* var20 /* : nullable Int */; +val* var21 /* : nullable Int */; +val* var22 /* : nullable Bool */; +val* var23 /* : nullable Bool */; +val* var24 /* : Sys */; val* var25 /* : MVisibility */; -val* var27 /* : MVisibility */; -val* var28 /* : Sys */; +val* var26 /* : MClass */; +val* var28 /* : MClass */; val* var29 /* : MVisibility */; -short int var30 /* : Bool */; -short int var32 /* : Bool */; +val* var31 /* : MVisibility */; +val* var32 /* : Sys */; +val* var33 /* : MVisibility */; short int var34 /* : Bool */; -val* var35 /* : Sys */; -val* var36 /* : MVisibility */; -short int var37 /* : Bool */; -short int var39 /* : Bool */; +short int var36 /* : Bool */; +short int var38 /* : Bool */; +val* var39 /* : Sys */; +val* var40 /* : MVisibility */; short int var41 /* : Bool */; -short int var42 /* : Bool */; short int var43 /* : Bool */; short int var45 /* : Bool */; short int var46 /* : Bool */; -static val* varonce47; -val* var48 /* : String */; -char* var49 /* : NativeString */; -val* var50 /* : String */; -val* var51 /* : Sys */; -val* var52 /* : MVisibility */; -short int var53 /* : Bool */; -short int var55 /* : Bool */; -short int var57 /* : Bool */; -short int var58 /* : Bool */; -short int var59 /* : Bool */; +short int var47 /* : Bool */; +short int var49 /* : Bool */; +short int var50 /* : Bool */; +static val* varonce51; +val* var52 /* : String */; +char* var53 /* : CString */; +val* var54 /* : String */; +val* var55 /* : nullable Int */; +val* var56 /* : nullable Int */; +val* var57 /* : nullable Bool */; +val* var58 /* : nullable Bool */; +val* var59 /* : Sys */; +val* var60 /* : MVisibility */; short int var61 /* : Bool */; -short int var62 /* : Bool */; -static val* varonce63; -val* var64 /* : String */; -char* var65 /* : NativeString */; -val* var66 /* : String */; -static val* varonce67; -val* var68 /* : String */; -char* var69 /* : NativeString */; -val* var70 /* : String */; -val* var71 /* : Sys */; -val* var72 /* : MVisibility */; +short int var63 /* : Bool */; +short int var65 /* : Bool */; +short int var66 /* : Bool */; +short int var67 /* : Bool */; +short int var69 /* : Bool */; +short int var70 /* : Bool */; +static val* varonce71; +val* var72 /* : String */; +char* var73 /* : CString */; +val* var74 /* : String */; +val* var75 /* : nullable Int */; +val* var76 /* : nullable Int */; +val* var77 /* : nullable Bool */; +val* var78 /* : nullable Bool */; +static val* varonce79; +val* var80 /* : String */; +char* var81 /* : CString */; +val* var82 /* : String */; +val* var83 /* : nullable Int */; +val* var84 /* : nullable Int */; +val* var85 /* : nullable Bool */; +val* var86 /* : nullable Bool */; +val* var87 /* : Sys */; +val* var88 /* : MVisibility */; var_modelbuilder = p0; var_mclassdef = p1; var_nvisibility = p2; @@ -6314,7 +7241,7 @@ var3 = 0; /* is null */ var3 = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_nvisibility,((val*)NULL)) on */ +{ /* Inline kernel$Object$!= (var_nvisibility,((val*)NULL)) on */ var_other = ((val*)NULL); { var6 = ((short int(*)(val* self, val* p0))(var_nvisibility->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_nvisibility, var_other); /* == on */ @@ -6336,10 +7263,10 @@ var9 = glob_sys; var10 = nitc__model_base___core__Sys___intrude_visibility(var9); } { -{ /* Inline kernel#Object#== (var_mvisibility,var10) on */ +{ /* Inline kernel$Object$== (var_mvisibility,var10) on */ var_other13 = var10; { -{ /* Inline kernel#Object#is_same_instance (var_mvisibility,var_other13) on */ +{ /* Inline kernel$Object$is_same_instance (var_mvisibility,var_other13) on */ var16 = var_mvisibility == var_other13; var14 = var16; goto RET_LABEL15; @@ -6356,194 +7283,222 @@ if (likely(varonce!=NULL)) { var17 = varonce; } else { var18 = "Error: `intrude` is not a legal visibility for properties."; -var19 = core__flat___NativeString___to_s_full(var18, 58l, 58l); +var20 = (val*)(58l<<2|1); +var21 = (val*)(58l<<2|1); +var22 = (val*)((long)(0)<<2|3); +var23 = (val*)((long)(0)<<2|3); +var19 = core__flat___CString___to_s_unsafe(var18, var20, var21, var22, var23); var17 = var19; varonce = var17; } { -nitc___nitc__ModelBuilder___error(var_modelbuilder, var_nvisibility, var17); /* Direct call modelbuilder_base#ModelBuilder#error on */ +nitc___nitc__ModelBuilder___error(var_modelbuilder, var_nvisibility, var17); /* Direct call modelbuilder_base$ModelBuilder$error on */ } -var20 = glob_sys; +var24 = glob_sys; { -var21 = nitc__model_base___core__Sys___public_visibility(var20); +var25 = nitc__model_base___core__Sys___public_visibility(var24); } -var_mvisibility = var21; +var_mvisibility = var25; } else { } } else { } { -{ /* Inline model#MClassDef#mclass (var_mclassdef) on */ -var24 = var_mclassdef->attrs[COLOR_nitc__model__MClassDef___mclass].val; /* _mclass on */ -if (unlikely(var24 == NULL)) { +{ /* Inline model$MClassDef$mclass (var_mclassdef) on */ +var28 = var_mclassdef->attrs[COLOR_nitc__model__MClassDef___mclass].val; /* _mclass on */ +if (unlikely(var28 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclass"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 576); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 591); fatal_exit(1); } -var22 = var24; -RET_LABEL23:(void)0; +var26 = var28; +RET_LABEL27:(void)0; } } { -{ /* Inline model#MClass#visibility (var22) on */ -var27 = var22->attrs[COLOR_nitc__model__MClass___visibility].val; /* _visibility on */ -if (unlikely(var27 == NULL)) { +{ /* Inline model$MClass$visibility (var26) on */ +var31 = var26->attrs[COLOR_nitc__model__MClass___visibility].val; /* _visibility on */ +if (unlikely(var31 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _visibility"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 463); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 476); fatal_exit(1); } -var25 = var27; -RET_LABEL26:(void)0; +var29 = var31; +RET_LABEL30:(void)0; } } -var28 = glob_sys; +var32 = glob_sys; { -var29 = nitc__model_base___core__Sys___private_visibility(var28); +var33 = nitc__model_base___core__Sys___private_visibility(var32); } { -{ /* Inline kernel#Object#== (var25,var29) on */ -var_other13 = var29; +{ /* Inline kernel$Object$== (var29,var33) on */ +var_other13 = var33; { -{ /* Inline kernel#Object#is_same_instance (var25,var_other13) on */ -var34 = var25 == var_other13; -var32 = var34; -goto RET_LABEL33; -RET_LABEL33:(void)0; +{ /* Inline kernel$Object$is_same_instance (var29,var_other13) on */ +var38 = var29 == var_other13; +var36 = var38; +goto RET_LABEL37; +RET_LABEL37:(void)0; } } -var30 = var32; -goto RET_LABEL31; -RET_LABEL31:(void)0; +var34 = var36; +goto RET_LABEL35; +RET_LABEL35:(void)0; } } -if (var30){ -var35 = glob_sys; +if (var34){ +var39 = glob_sys; { -var36 = nitc__model_base___core__Sys___protected_visibility(var35); +var40 = nitc__model_base___core__Sys___protected_visibility(var39); } { -{ /* Inline kernel#Object#== (var_mvisibility,var36) on */ -var_other13 = var36; +{ /* Inline kernel$Object$== (var_mvisibility,var40) on */ +var_other13 = var40; { -{ /* Inline kernel#Object#is_same_instance (var_mvisibility,var_other13) on */ -var41 = var_mvisibility == var_other13; -var39 = var41; -goto RET_LABEL40; -RET_LABEL40:(void)0; +{ /* Inline kernel$Object$is_same_instance (var_mvisibility,var_other13) on */ +var45 = var_mvisibility == var_other13; +var43 = var45; +goto RET_LABEL44; +RET_LABEL44:(void)0; } } -var37 = var39; -goto RET_LABEL38; -RET_LABEL38:(void)0; +var41 = var43; +goto RET_LABEL42; +RET_LABEL42:(void)0; } } -if (var37){ +if (var41){ if (var_nvisibility == NULL) { -var42 = 0; /* is null */ +var46 = 0; /* is null */ } else { -var42 = 1; /* arg is null and recv is not */ +var46 = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_nvisibility,((val*)NULL)) on */ +{ /* Inline kernel$Object$!= (var_nvisibility,((val*)NULL)) on */ var_other = ((val*)NULL); { -var45 = ((short int(*)(val* self, val* p0))(var_nvisibility->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_nvisibility, var_other); /* == on */ +var49 = ((short int(*)(val* self, val* p0))(var_nvisibility->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_nvisibility, var_other); /* == on */ } -var46 = !var45; -var43 = var46; -goto RET_LABEL44; -RET_LABEL44:(void)0; +var50 = !var49; +var47 = var50; +goto RET_LABEL48; +RET_LABEL48:(void)0; +} +var46 = var47; } -var42 = var43; +if (unlikely(!var46)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -if (unlikely(!var42)) { PRINT_ERROR("Runtime error: %s", "Assert failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property, 577); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property, 575); fatal_exit(1); } -if (likely(varonce47!=NULL)) { -var48 = varonce47; +if (likely(varonce51!=NULL)) { +var52 = varonce51; } else { -var49 = "Error: `private` is the only legal visibility for properties in a private class."; -var50 = core__flat___NativeString___to_s_full(var49, 80l, 80l); -var48 = var50; -varonce47 = var48; +var53 = "Error: `private` is the only legal visibility for properties in a private class."; +var55 = (val*)(80l<<2|1); +var56 = (val*)(80l<<2|1); +var57 = (val*)((long)(0)<<2|3); +var58 = (val*)((long)(0)<<2|3); +var54 = core__flat___CString___to_s_unsafe(var53, var55, var56, var57, var58); +var52 = var54; +varonce51 = var52; } { -nitc___nitc__ModelBuilder___error(var_modelbuilder, var_nvisibility, var48); /* Direct call modelbuilder_base#ModelBuilder#error on */ +nitc___nitc__ModelBuilder___error(var_modelbuilder, var_nvisibility, var52); /* Direct call modelbuilder_base$ModelBuilder$error on */ } } else { -var51 = glob_sys; +var59 = glob_sys; { -var52 = nitc__model_base___core__Sys___private_visibility(var51); +var60 = nitc__model_base___core__Sys___private_visibility(var59); } { -{ /* Inline kernel#Object#== (var_mvisibility,var52) on */ -var_other13 = var52; +{ /* Inline kernel$Object$== (var_mvisibility,var60) on */ +var_other13 = var60; { -{ /* Inline kernel#Object#is_same_instance (var_mvisibility,var_other13) on */ -var57 = var_mvisibility == var_other13; -var55 = var57; -goto RET_LABEL56; -RET_LABEL56:(void)0; +{ /* Inline kernel$Object$is_same_instance (var_mvisibility,var_other13) on */ +var65 = var_mvisibility == var_other13; +var63 = var65; +goto RET_LABEL64; +RET_LABEL64:(void)0; } } -var53 = var55; -goto RET_LABEL54; -RET_LABEL54:(void)0; +var61 = var63; +goto RET_LABEL62; +RET_LABEL62:(void)0; } } -if (var53){ +if (var61){ if (var_nvisibility == NULL) { -var58 = 0; /* is null */ +var66 = 0; /* is null */ } else { -var58 = 1; /* arg is null and recv is not */ +var66 = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_nvisibility,((val*)NULL)) on */ +{ /* Inline kernel$Object$!= (var_nvisibility,((val*)NULL)) on */ var_other = ((val*)NULL); { -var61 = ((short int(*)(val* self, val* p0))(var_nvisibility->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_nvisibility, var_other); /* == on */ +var69 = ((short int(*)(val* self, val* p0))(var_nvisibility->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_nvisibility, var_other); /* == on */ +} +var70 = !var69; +var67 = var70; +goto RET_LABEL68; +RET_LABEL68:(void)0; } -var62 = !var61; -var59 = var62; -goto RET_LABEL60; -RET_LABEL60:(void)0; +var66 = var67; } -var58 = var59; +if (unlikely(!var66)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -if (unlikely(!var58)) { PRINT_ERROR("Runtime error: %s", "Assert failed"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property, 580); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property, 578); fatal_exit(1); } -if (likely(varonce63!=NULL)) { -var64 = varonce63; +if (likely(varonce71!=NULL)) { +var72 = varonce71; } else { -var65 = "useless-visibility"; -var66 = core__flat___NativeString___to_s_full(var65, 18l, 18l); -var64 = var66; -varonce63 = var64; +var73 = "useless-visibility"; +var75 = (val*)(18l<<2|1); +var76 = (val*)(18l<<2|1); +var77 = (val*)((long)(0)<<2|3); +var78 = (val*)((long)(0)<<2|3); +var74 = core__flat___CString___to_s_unsafe(var73, var75, var76, var77, var78); +var72 = var74; +varonce71 = var72; } -if (likely(varonce67!=NULL)) { -var68 = varonce67; +if (likely(varonce79!=NULL)) { +var80 = varonce79; } else { -var69 = "Warning: `private` is superfluous since the only legal visibility for properties in a private class is private."; -var70 = core__flat___NativeString___to_s_full(var69, 111l, 111l); -var68 = var70; -varonce67 = var68; +var81 = "Warning: `private` is superfluous since the only legal visibility for properties in a private class is private."; +var83 = (val*)(111l<<2|1); +var84 = (val*)(111l<<2|1); +var85 = (val*)((long)(0)<<2|3); +var86 = (val*)((long)(0)<<2|3); +var82 = core__flat___CString___to_s_unsafe(var81, var83, var84, var85, var86); +var80 = var82; +varonce79 = var80; } { -nitc___nitc__ModelBuilder___advice(var_modelbuilder, var_nvisibility, var64, var68); /* Direct call modelbuilder_base#ModelBuilder#advice on */ +nitc___nitc__ModelBuilder___advice(var_modelbuilder, var_nvisibility, var72, var80); /* Direct call modelbuilder_base$ModelBuilder$advice on */ } } else { } } -var71 = glob_sys; +var87 = glob_sys; { -var72 = nitc__model_base___core__Sys___private_visibility(var71); +var88 = nitc__model_base___core__Sys___private_visibility(var87); } -var_mvisibility = var72; +var_mvisibility = var88; } else { } var = var_mvisibility; @@ -6551,7 +7506,7 @@ goto RET_LABEL; RET_LABEL:; return var; } -/* method modelize_property#APropdef#set_doc for (self: APropdef, MPropDef, ModelBuilder) */ +/* method modelize_property$APropdef$set_doc for (self: APropdef, MPropDef, ModelBuilder) */ void nitc__modelize_property___APropdef___set_doc(val* self, val* p0, val* p1) { val* var_mpropdef /* var mpropdef: MPropDef */; val* var_modelbuilder /* var modelbuilder: ModelBuilder */; @@ -6567,63 +7522,97 @@ val* var8 /* : MDoc */; val* var_mdoc /* var mdoc: MDoc */; short int var11 /* : Bool */; short int var12 /* : Bool */; +short int var13 /* : Bool */; short int var_ /* var : Bool */; -val* var13 /* : MProperty */; -val* var15 /* : MProperty */; -val* var16 /* : MVisibility */; -val* var18 /* : MVisibility */; -val* var19 /* : Sys */; -val* var20 /* : MVisibility */; -short int var21 /* : Bool */; -static val* varonce; -val* var22 /* : String */; -char* var23 /* : NativeString */; +val* var14 /* : MProperty */; +val* var16 /* : MProperty */; +val* var17 /* : MVisibility */; +val* var19 /* : MVisibility */; +val* var20 /* : Sys */; +val* var21 /* : MVisibility */; +short int var22 /* : Bool */; +short int var_23 /* var : Bool */; val* var24 /* : String */; -val* var26 /* : NativeArray[String] */; -static val* varonce25; -static val* varonce27; -val* var28 /* : String */; -char* var29 /* : NativeString */; -val* var30 /* : String */; -static val* varonce31; -val* var32 /* : String */; -char* var33 /* : NativeString */; -val* var34 /* : String */; -val* var35 /* : MProperty */; -val* var37 /* : MProperty */; -val* var38 /* : String */; +static val* varonce; +val* var25 /* : String */; +char* var26 /* : CString */; +val* var27 /* : String */; +val* var28 /* : nullable Int */; +val* var29 /* : nullable Int */; +val* var30 /* : nullable Bool */; +val* var31 /* : nullable Bool */; +short int var32 /* : Bool */; +short int var34 /* : Bool */; +short int var35 /* : Bool */; +static val* varonce36; +val* var37 /* : String */; +char* var38 /* : CString */; val* var39 /* : String */; -static val* varonce40; -val* var41 /* : String */; -char* var42 /* : NativeString */; -val* var43 /* : String */; -val* var44 /* : nullable AAnnotation */; -val* var_at_deprecated /* var at_deprecated: nullable AAnnotation */; -short int var45 /* : Bool */; -short int var46 /* : Bool */; -short int var48 /* : Bool */; -short int var49 /* : Bool */; -short int var50 /* : Bool */; -short int var51 /* : Bool */; -static val* varonce52; -val* var53 /* : String */; -char* var54 /* : NativeString */; +val* var40 /* : nullable Int */; +val* var41 /* : nullable Int */; +val* var42 /* : nullable Bool */; +val* var43 /* : nullable Bool */; +val* var45 /* : NativeArray[String] */; +static val* varonce44; +static val* varonce46; +val* var47 /* : String */; +char* var48 /* : CString */; +val* var49 /* : String */; +val* var50 /* : nullable Int */; +val* var51 /* : nullable Int */; +val* var52 /* : nullable Bool */; +val* var53 /* : nullable Bool */; +static val* varonce54; val* var55 /* : String */; -val* var56 /* : MDeprecationInfo */; +char* var56 /* : CString */; +val* var57 /* : String */; +val* var58 /* : nullable Int */; +val* var59 /* : nullable Int */; +val* var60 /* : nullable Bool */; +val* var61 /* : nullable Bool */; +val* var62 /* : MProperty */; +val* var64 /* : MProperty */; +val* var65 /* : String */; +val* var66 /* : String */; +static val* varonce67; +val* var68 /* : String */; +char* var69 /* : CString */; +val* var70 /* : String */; +val* var71 /* : nullable Int */; +val* var72 /* : nullable Int */; +val* var73 /* : nullable Bool */; +val* var74 /* : nullable Bool */; +val* var75 /* : nullable AAnnotation */; +val* var_at_deprecated /* var at_deprecated: nullable AAnnotation */; +short int var76 /* : Bool */; +short int var77 /* : Bool */; +short int var79 /* : Bool */; +short int var80 /* : Bool */; +short int var81 /* : Bool */; +short int var82 /* : Bool */; +static val* varonce83; +val* var84 /* : String */; +char* var85 /* : CString */; +val* var86 /* : String */; +val* var87 /* : nullable Int */; +val* var88 /* : nullable Int */; +val* var89 /* : nullable Bool */; +val* var90 /* : nullable Bool */; +val* var91 /* : MDeprecationInfo */; val* var_info /* var info: MDeprecationInfo */; -val* var58 /* : nullable ADoc */; -val* var60 /* : nullable ADoc */; -short int var61 /* : Bool */; -short int var62 /* : Bool */; -short int var64 /* : Bool */; -short int var65 /* : Bool */; -val* var66 /* : MDoc */; -val* var68 /* : MProperty */; -val* var70 /* : MProperty */; +val* var93 /* : nullable ADoc */; +val* var95 /* : nullable ADoc */; +short int var96 /* : Bool */; +short int var97 /* : Bool */; +short int var99 /* : Bool */; +short int var100 /* : Bool */; +val* var101 /* : MDoc */; +val* var103 /* : MProperty */; +val* var105 /* : MProperty */; var_mpropdef = p0; var_modelbuilder = p1; { -{ /* Inline parser_nodes#ADefinition#n_doc (self) on */ +{ /* Inline parser_nodes$ADefinition$n_doc (self) on */ var2 = self->attrs[COLOR_nitc__parser_nodes__ADefinition___n_doc].val; /* _n_doc on */ var = var2; RET_LABEL1:(void)0; @@ -6636,7 +7625,7 @@ var3 = 0; /* is null */ var3 = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_ndoc,((val*)NULL)) on */ +{ /* Inline kernel$Object$!= (var_ndoc,((val*)NULL)) on */ var_other = ((val*)NULL); { var6 = ((short int(*)(val* self, val* p0))(var_ndoc->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_ndoc, var_other); /* == on */ @@ -6654,226 +7643,291 @@ var8 = nitc__modelbuilder_base___ADoc___to_mdoc(var_ndoc); } var_mdoc = var8; { -{ /* Inline mdoc#MEntity#mdoc= (var_mpropdef,var_mdoc) on */ +{ /* Inline mdoc$MEntity$mdoc= (var_mpropdef,var_mdoc) on */ var_mpropdef->attrs[COLOR_nitc__mdoc__MEntity___mdoc].val = var_mdoc; /* _mdoc on */ RET_LABEL9:(void)0; } } { -{ /* Inline mdoc#MDoc#original_mentity= (var_mdoc,var_mpropdef) on */ +{ /* Inline mdoc$MDoc$original_mentity= (var_mdoc,var_mpropdef) on */ var_mdoc->attrs[COLOR_nitc__mdoc__MDoc___original_mentity].val = var_mpropdef; /* _original_mentity on */ RET_LABEL10:(void)0; } } } else { { -var12 = nitc___nitc__MPropDef___is_intro(var_mpropdef); +var13 = nitc___nitc__MPropDef___is_intro(var_mpropdef); } -var_ = var12; -if (var12){ +var_ = var13; +if (var13){ { -{ /* Inline model#MPropDef#mproperty (var_mpropdef) on */ -var15 = var_mpropdef->attrs[COLOR_nitc__model__MPropDef___mproperty].val; /* _mproperty on */ -if (unlikely(var15 == NULL)) { +{ /* Inline model$MPropDef$mproperty (var_mpropdef) on */ +var16 = var_mpropdef->attrs[COLOR_nitc__model__MPropDef___mproperty].val; /* _mproperty on */ +if (unlikely(var16 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2230); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2357); fatal_exit(1); } -var13 = var15; -RET_LABEL14:(void)0; +var14 = var16; +RET_LABEL15:(void)0; } } { -{ /* Inline model#MProperty#visibility (var13) on */ -var18 = var13->attrs[COLOR_nitc__model__MProperty___visibility].val; /* _visibility on */ -if (unlikely(var18 == NULL)) { +{ /* Inline model$MProperty$visibility (var14) on */ +var19 = var14->attrs[COLOR_nitc__model__MProperty___visibility].val; /* _visibility on */ +if (unlikely(var19 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _visibility"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 1967); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2078); fatal_exit(1); } -var16 = var18; -RET_LABEL17:(void)0; +var17 = var19; +RET_LABEL18:(void)0; } } -var19 = glob_sys; +var20 = glob_sys; { -var20 = nitc__model_base___core__Sys___protected_visibility(var19); +var21 = nitc__model_base___core__Sys___protected_visibility(var20); } { -var21 = core___core__Comparable____62d_61d(var16, var20); +var22 = core___core__Comparable____62d_61d(var17, var21); } -var11 = var21; +var12 = var22; } else { -var11 = var_; +var12 = var_; +} +var_23 = var12; +if (var12){ +{ +var24 = nitc___nitc__MPropDef___nitc__model_base__MEntity__name(var_mpropdef); } -if (var11){ if (likely(varonce!=NULL)) { -var22 = varonce; -} else { -var23 = "missing-doc"; -var24 = core__flat___NativeString___to_s_full(var23, 11l, 11l); -var22 = var24; -varonce = var22; +var25 = varonce; +} else { +var26 = "new"; +var28 = (val*)(3l<<2|1); +var29 = (val*)(3l<<2|1); +var30 = (val*)((long)(0)<<2|3); +var31 = (val*)((long)(0)<<2|3); +var27 = core__flat___CString___to_s_unsafe(var26, var28, var29, var30, var31); +var25 = var27; +varonce = var25; } -if (unlikely(varonce25==NULL)) { -var26 = NEW_core__NativeArray(3l, &type_core__NativeArray__core__String); -if (likely(varonce27!=NULL)) { -var28 = varonce27; -} else { -var29 = "Documentation warning: Undocumented property `"; -var30 = core__flat___NativeString___to_s_full(var29, 46l, 46l); -var28 = var30; -varonce27 = var28; +{ +{ /* Inline kernel$Object$!= (var24,var25) on */ +var_other = var25; +{ +var34 = ((short int(*)(val* self, val* p0))(var24->class->vft[COLOR_core__kernel__Object___61d_61d]))(var24, var_other); /* == on */ } -((struct instance_core__NativeArray*)var26)->values[0]=var28; -if (likely(varonce31!=NULL)) { -var32 = varonce31; +var35 = !var34; +var32 = var35; +goto RET_LABEL33; +RET_LABEL33:(void)0; +} +} +var11 = var32; } else { -var33 = "`"; -var34 = core__flat___NativeString___to_s_full(var33, 1l, 1l); -var32 = var34; -varonce31 = var32; +var11 = var_23; } -((struct instance_core__NativeArray*)var26)->values[2]=var32; +if (var11){ +if (likely(varonce36!=NULL)) { +var37 = varonce36; +} else { +var38 = "missing-doc"; +var40 = (val*)(11l<<2|1); +var41 = (val*)(11l<<2|1); +var42 = (val*)((long)(0)<<2|3); +var43 = (val*)((long)(0)<<2|3); +var39 = core__flat___CString___to_s_unsafe(var38, var40, var41, var42, var43); +var37 = var39; +varonce36 = var37; +} +if (unlikely(varonce44==NULL)) { +var45 = NEW_core__NativeArray((int)3l, &type_core__NativeArray__core__String); +if (likely(varonce46!=NULL)) { +var47 = varonce46; +} else { +var48 = "Documentation warning: Undocumented property `"; +var50 = (val*)(46l<<2|1); +var51 = (val*)(46l<<2|1); +var52 = (val*)((long)(0)<<2|3); +var53 = (val*)((long)(0)<<2|3); +var49 = core__flat___CString___to_s_unsafe(var48, var50, var51, var52, var53); +var47 = var49; +varonce46 = var47; +} +((struct instance_core__NativeArray*)var45)->values[0]=var47; +if (likely(varonce54!=NULL)) { +var55 = varonce54; +} else { +var56 = "`"; +var58 = (val*)(1l<<2|1); +var59 = (val*)(1l<<2|1); +var60 = (val*)((long)(0)<<2|3); +var61 = (val*)((long)(0)<<2|3); +var57 = core__flat___CString___to_s_unsafe(var56, var58, var59, var60, var61); +var55 = var57; +varonce54 = var55; +} +((struct instance_core__NativeArray*)var45)->values[2]=var55; } else { -var26 = varonce25; -varonce25 = NULL; +var45 = varonce44; +varonce44 = NULL; } { -{ /* Inline model#MPropDef#mproperty (var_mpropdef) on */ -var37 = var_mpropdef->attrs[COLOR_nitc__model__MPropDef___mproperty].val; /* _mproperty on */ -if (unlikely(var37 == NULL)) { +{ /* Inline model$MPropDef$mproperty (var_mpropdef) on */ +var64 = var_mpropdef->attrs[COLOR_nitc__model__MPropDef___mproperty].val; /* _mproperty on */ +if (unlikely(var64 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2230); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2357); fatal_exit(1); } -var35 = var37; -RET_LABEL36:(void)0; +var62 = var64; +RET_LABEL63:(void)0; } } { -var38 = ((val*(*)(val* self))(var35->class->vft[COLOR_core__abstract_text__Object__to_s]))(var35); /* to_s on */ +var65 = ((val*(*)(val* self))(var62->class->vft[COLOR_core__abstract_text__Object__to_s]))(var62); /* to_s on */ } -((struct instance_core__NativeArray*)var26)->values[1]=var38; +((struct instance_core__NativeArray*)var45)->values[1]=var65; { -var39 = ((val*(*)(val* self))(var26->class->vft[COLOR_core__abstract_text__NativeArray__native_to_s]))(var26); /* native_to_s on */ +var66 = ((val*(*)(val* self))(var45->class->vft[COLOR_core__abstract_text__NativeArray__native_to_s]))(var45); /* native_to_s on */ } -varonce25 = var26; +varonce44 = var45; { -nitc___nitc__ModelBuilder___advice(var_modelbuilder, self, var22, var39); /* Direct call modelbuilder_base#ModelBuilder#advice on */ +nitc___nitc__ModelBuilder___advice(var_modelbuilder, self, var37, var66); /* Direct call modelbuilder_base$ModelBuilder$advice on */ } } else { } } -if (likely(varonce40!=NULL)) { -var41 = varonce40; +if (likely(varonce67!=NULL)) { +var68 = varonce67; } else { -var42 = "deprecated"; -var43 = core__flat___NativeString___to_s_full(var42, 10l, 10l); -var41 = var43; -varonce40 = var41; +var69 = "deprecated"; +var71 = (val*)(10l<<2|1); +var72 = (val*)(10l<<2|1); +var73 = (val*)((long)(0)<<2|3); +var74 = (val*)((long)(0)<<2|3); +var70 = core__flat___CString___to_s_unsafe(var69, var71, var72, var73, var74); +var68 = var70; +varonce67 = var68; } { -var44 = nitc__annotation___Prod___get_single_annotation(self, var41, var_modelbuilder); +var75 = nitc__annotation___Prod___get_single_annotation(self, var68, var_modelbuilder); } -var_at_deprecated = var44; +var_at_deprecated = var75; if (var_at_deprecated == NULL) { -var45 = 0; /* is null */ +var76 = 0; /* is null */ } else { -var45 = 1; /* arg is null and recv is not */ +var76 = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_at_deprecated,((val*)NULL)) on */ +{ /* Inline kernel$Object$!= (var_at_deprecated,((val*)NULL)) on */ var_other = ((val*)NULL); { -var48 = ((short int(*)(val* self, val* p0))(var_at_deprecated->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_at_deprecated, var_other); /* == on */ +var79 = ((short int(*)(val* self, val* p0))(var_at_deprecated->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_at_deprecated, var_other); /* == on */ } -var49 = !var48; -var46 = var49; -goto RET_LABEL47; -RET_LABEL47:(void)0; +var80 = !var79; +var77 = var80; +goto RET_LABEL78; +RET_LABEL78:(void)0; } -var45 = var46; +var76 = var77; } -if (var45){ +if (var76){ { -var50 = nitc___nitc__MPropDef___is_intro(var_mpropdef); +var81 = nitc___nitc__MPropDef___is_intro(var_mpropdef); } -var51 = !var50; -if (var51){ -if (likely(varonce52!=NULL)) { -var53 = varonce52; -} else { -var54 = "Error: method redefinition cannot be deprecated."; -var55 = core__flat___NativeString___to_s_full(var54, 48l, 48l); -var53 = var55; -varonce52 = var53; +var82 = !var81; +if (var82){ +if (likely(varonce83!=NULL)) { +var84 = varonce83; +} else { +var85 = "Error: method redefinition cannot be deprecated."; +var87 = (val*)(48l<<2|1); +var88 = (val*)(48l<<2|1); +var89 = (val*)((long)(0)<<2|3); +var90 = (val*)((long)(0)<<2|3); +var86 = core__flat___CString___to_s_unsafe(var85, var87, var88, var89, var90); +var84 = var86; +varonce83 = var84; } { -nitc___nitc__ModelBuilder___error(var_modelbuilder, self, var53); /* Direct call modelbuilder_base#ModelBuilder#error on */ +nitc___nitc__ModelBuilder___error(var_modelbuilder, self, var84); /* Direct call modelbuilder_base$ModelBuilder$error on */ } } else { -var56 = NEW_nitc__MDeprecationInfo(&type_nitc__MDeprecationInfo); +var91 = NEW_nitc__MDeprecationInfo(&type_nitc__MDeprecationInfo); { -{ /* Inline kernel#Object#init (var56) on */ -RET_LABEL57:(void)0; +{ /* Inline kernel$Object$init (var91) on */ +RET_LABEL92:(void)0; } } -var_info = var56; +var_info = var91; { -{ /* Inline parser_nodes#ADefinition#n_doc (var_at_deprecated) on */ -var60 = var_at_deprecated->attrs[COLOR_nitc__parser_nodes__ADefinition___n_doc].val; /* _n_doc on */ -var58 = var60; -RET_LABEL59:(void)0; +{ /* Inline parser_nodes$ADefinition$n_doc (var_at_deprecated) on */ +var95 = var_at_deprecated->attrs[COLOR_nitc__parser_nodes__ADefinition___n_doc].val; /* _n_doc on */ +var93 = var95; +RET_LABEL94:(void)0; } } -var_ndoc = var58; +var_ndoc = var93; if (var_ndoc == NULL) { -var61 = 0; /* is null */ +var96 = 0; /* is null */ } else { -var61 = 1; /* arg is null and recv is not */ +var96 = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_ndoc,((val*)NULL)) on */ +{ /* Inline kernel$Object$!= (var_ndoc,((val*)NULL)) on */ var_other = ((val*)NULL); { -var64 = ((short int(*)(val* self, val* p0))(var_ndoc->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_ndoc, var_other); /* == on */ +var99 = ((short int(*)(val* self, val* p0))(var_ndoc->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_ndoc, var_other); /* == on */ } -var65 = !var64; -var62 = var65; -goto RET_LABEL63; -RET_LABEL63:(void)0; +var100 = !var99; +var97 = var100; +goto RET_LABEL98; +RET_LABEL98:(void)0; } -var61 = var62; +var96 = var97; } -if (var61){ +if (var96){ { -var66 = nitc__modelbuilder_base___ADoc___to_mdoc(var_ndoc); +var101 = nitc__modelbuilder_base___ADoc___to_mdoc(var_ndoc); } { -{ /* Inline mdoc#MDeprecationInfo#mdoc= (var_info,var66) on */ -var_info->attrs[COLOR_nitc__mdoc__MDeprecationInfo___mdoc].val = var66; /* _mdoc on */ -RET_LABEL67:(void)0; +{ /* Inline mdoc$MDeprecationInfo$mdoc= (var_info,var101) on */ +var_info->attrs[COLOR_nitc__mdoc__MDeprecationInfo___mdoc].val = var101; /* _mdoc on */ +RET_LABEL102:(void)0; } } } else { } { -{ /* Inline model#MPropDef#mproperty (var_mpropdef) on */ -var70 = var_mpropdef->attrs[COLOR_nitc__model__MPropDef___mproperty].val; /* _mproperty on */ -if (unlikely(var70 == NULL)) { +{ /* Inline model$MPropDef$mproperty (var_mpropdef) on */ +var105 = var_mpropdef->attrs[COLOR_nitc__model__MPropDef___mproperty].val; /* _mproperty on */ +if (unlikely(var105 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2230); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2357); fatal_exit(1); } -var68 = var70; -RET_LABEL69:(void)0; +var103 = var105; +RET_LABEL104:(void)0; } } { -{ /* Inline mdoc#MEntity#deprecation= (var68,var_info) on */ -var68->attrs[COLOR_nitc__mdoc__MEntity___deprecation].val = var_info; /* _deprecation on */ -RET_LABEL71:(void)0; +{ /* Inline mdoc$MEntity$deprecation= (var103,var_info) on */ +var103->attrs[COLOR_nitc__mdoc__MEntity___deprecation].val = var_info; /* _deprecation on */ +RET_LABEL106:(void)0; } } } @@ -6881,7 +7935,7 @@ RET_LABEL71:(void)0; } RET_LABEL:; } -/* method modelize_property#APropdef#check_redef_property_visibility for (self: APropdef, ModelBuilder, nullable AVisibility, MProperty) */ +/* method modelize_property$APropdef$check_redef_property_visibility for (self: APropdef, ModelBuilder, nullable AVisibility, MProperty) */ void nitc__modelize_property___APropdef___check_redef_property_visibility(val* self, val* p0, val* p1, val* p2) { val* var_modelbuilder /* var modelbuilder: ModelBuilder */; val* var_nvisibility /* var nvisibility: nullable AVisibility */; @@ -6910,21 +7964,33 @@ val* var22 /* : NativeArray[String] */; static val* varonce; static val* varonce23; val* var24 /* : String */; -char* var25 /* : NativeString */; +char* var25 /* : CString */; val* var26 /* : String */; -static val* varonce27; -val* var28 /* : String */; -char* var29 /* : NativeString */; -val* var30 /* : String */; +val* var27 /* : nullable Int */; +val* var28 /* : nullable Int */; +val* var29 /* : nullable Bool */; +val* var30 /* : nullable Bool */; static val* varonce31; val* var32 /* : String */; -char* var33 /* : NativeString */; +char* var33 /* : CString */; val* var34 /* : String */; -val* var35 /* : MVisibility */; -val* var37 /* : MVisibility */; -val* var38 /* : String */; -val* var39 /* : String */; +val* var35 /* : nullable Int */; +val* var36 /* : nullable Int */; +val* var37 /* : nullable Bool */; +val* var38 /* : nullable Bool */; +static val* varonce39; val* var40 /* : String */; +char* var41 /* : CString */; +val* var42 /* : String */; +val* var43 /* : nullable Int */; +val* var44 /* : nullable Int */; +val* var45 /* : nullable Bool */; +val* var46 /* : nullable Bool */; +val* var47 /* : MVisibility */; +val* var49 /* : MVisibility */; +val* var50 /* : String */; +val* var51 /* : String */; +val* var52 /* : String */; var_modelbuilder = p0; var_nvisibility = p1; var_mprop = p2; @@ -6934,10 +8000,10 @@ var = 1; /* is null */ var = 0; /* arg is null but recv is not */ } if (0) { -{ /* Inline kernel#Object#== (var_nvisibility,((val*)NULL)) on */ +{ /* Inline kernel$Object$== (var_nvisibility,((val*)NULL)) on */ var_other = ((val*)NULL); { -{ /* Inline kernel#Object#is_same_instance (var_nvisibility,var_other) on */ +{ /* Inline kernel$Object$is_same_instance (var_nvisibility,var_other) on */ var5 = var_nvisibility == var_other; var3 = var5; goto RET_LABEL4; @@ -6959,11 +8025,14 @@ var6 = ((val*(*)(val* self))(var_nvisibility->class->vft[COLOR_nitc__modelbuilde } var_mvisibility = var6; { -{ /* Inline model#MProperty#visibility (var_mprop) on */ +{ /* Inline model$MProperty$visibility (var_mprop) on */ var10 = var_mprop->attrs[COLOR_nitc__model__MProperty___visibility].val; /* _visibility on */ if (unlikely(var10 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _visibility"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 1967); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2078); fatal_exit(1); } var8 = var10; @@ -6971,7 +8040,7 @@ RET_LABEL9:(void)0; } } { -{ /* Inline kernel#Object#!= (var_mvisibility,var8) on */ +{ /* Inline kernel$Object$!= (var_mvisibility,var8) on */ var_other13 = var8; { var14 = ((short int(*)(val* self, val* p0))(var_mvisibility->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_mvisibility, var_other13); /* == on */ @@ -6989,7 +8058,7 @@ var16 = glob_sys; var17 = nitc__model_base___core__Sys___public_visibility(var16); } { -{ /* Inline kernel#Object#!= (var_mvisibility,var17) on */ +{ /* Inline kernel$Object$!= (var_mvisibility,var17) on */ var_other13 = var17; { var20 = ((short int(*)(val* self, val* p0))(var_mvisibility->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_mvisibility, var_other13); /* == on */ @@ -7006,70 +8075,85 @@ var7 = var_; } if (var7){ if (unlikely(varonce==NULL)) { -var22 = NEW_core__NativeArray(5l, &type_core__NativeArray__core__String); +var22 = NEW_core__NativeArray((int)5l, &type_core__NativeArray__core__String); if (likely(varonce23!=NULL)) { var24 = varonce23; } else { var25 = "Error: redefinition changed the visibility from `"; -var26 = core__flat___NativeString___to_s_full(var25, 49l, 49l); +var27 = (val*)(49l<<2|1); +var28 = (val*)(49l<<2|1); +var29 = (val*)((long)(0)<<2|3); +var30 = (val*)((long)(0)<<2|3); +var26 = core__flat___CString___to_s_unsafe(var25, var27, var28, var29, var30); var24 = var26; varonce23 = var24; } ((struct instance_core__NativeArray*)var22)->values[0]=var24; -if (likely(varonce27!=NULL)) { -var28 = varonce27; -} else { -var29 = "` to `"; -var30 = core__flat___NativeString___to_s_full(var29, 6l, 6l); -var28 = var30; -varonce27 = var28; -} -((struct instance_core__NativeArray*)var22)->values[2]=var28; if (likely(varonce31!=NULL)) { var32 = varonce31; } else { -var33 = "`."; -var34 = core__flat___NativeString___to_s_full(var33, 2l, 2l); +var33 = "` to `"; +var35 = (val*)(6l<<2|1); +var36 = (val*)(6l<<2|1); +var37 = (val*)((long)(0)<<2|3); +var38 = (val*)((long)(0)<<2|3); +var34 = core__flat___CString___to_s_unsafe(var33, var35, var36, var37, var38); var32 = var34; varonce31 = var32; } -((struct instance_core__NativeArray*)var22)->values[4]=var32; +((struct instance_core__NativeArray*)var22)->values[2]=var32; +if (likely(varonce39!=NULL)) { +var40 = varonce39; +} else { +var41 = "`."; +var43 = (val*)(2l<<2|1); +var44 = (val*)(2l<<2|1); +var45 = (val*)((long)(0)<<2|3); +var46 = (val*)((long)(0)<<2|3); +var42 = core__flat___CString___to_s_unsafe(var41, var43, var44, var45, var46); +var40 = var42; +varonce39 = var40; +} +((struct instance_core__NativeArray*)var22)->values[4]=var40; } else { var22 = varonce; varonce = NULL; } { -{ /* Inline model#MProperty#visibility (var_mprop) on */ -var37 = var_mprop->attrs[COLOR_nitc__model__MProperty___visibility].val; /* _visibility on */ -if (unlikely(var37 == NULL)) { +{ /* Inline model$MProperty$visibility (var_mprop) on */ +var49 = var_mprop->attrs[COLOR_nitc__model__MProperty___visibility].val; /* _visibility on */ +if (unlikely(var49 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _visibility"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 1967); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2078); fatal_exit(1); } -var35 = var37; -RET_LABEL36:(void)0; +var47 = var49; +RET_LABEL48:(void)0; } } { -var38 = ((val*(*)(val* self))(var35->class->vft[COLOR_core__abstract_text__Object__to_s]))(var35); /* to_s on */ +var50 = ((val*(*)(val* self))(var47->class->vft[COLOR_core__abstract_text__Object__to_s]))(var47); /* to_s on */ } -((struct instance_core__NativeArray*)var22)->values[1]=var38; +((struct instance_core__NativeArray*)var22)->values[1]=var50; { -var39 = ((val*(*)(val* self))(var_mvisibility->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_mvisibility); /* to_s on */ +var51 = ((val*(*)(val* self))(var_mvisibility->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_mvisibility); /* to_s on */ } -((struct instance_core__NativeArray*)var22)->values[3]=var39; +((struct instance_core__NativeArray*)var22)->values[3]=var51; { -var40 = ((val*(*)(val* self))(var22->class->vft[COLOR_core__abstract_text__NativeArray__native_to_s]))(var22); /* native_to_s on */ +var52 = ((val*(*)(val* self))(var22->class->vft[COLOR_core__abstract_text__NativeArray__native_to_s]))(var22); /* native_to_s on */ } varonce = var22; { -nitc___nitc__ModelBuilder___error(var_modelbuilder, var_nvisibility, var40); /* Direct call modelbuilder_base#ModelBuilder#error on */ +nitc___nitc__ModelBuilder___error(var_modelbuilder, var_nvisibility, var52); /* Direct call modelbuilder_base$ModelBuilder$error on */ } } else { } RET_LABEL:; } -/* method modelize_property#APropdef#check_redef_keyword for (self: APropdef, ModelBuilder, MClassDef, nullable Token, Bool, MProperty): Bool */ +/* method modelize_property$APropdef$check_redef_keyword for (self: APropdef, ModelBuilder, MClassDef, nullable Token, Bool, MProperty): Bool */ short int nitc__modelize_property___APropdef___check_redef_keyword(val* self, val* p0, val* p1, val* p2, short int p3, val* p4) { short int var /* : Bool */; val* var_modelbuilder /* var modelbuilder: ModelBuilder */; @@ -7084,224 +8168,287 @@ val* var5 /* : NativeArray[String] */; static val* varonce; static val* varonce6; val* var7 /* : String */; -char* var8 /* : NativeString */; +char* var8 /* : CString */; val* var9 /* : String */; -static val* varonce10; -val* var11 /* : String */; -char* var12 /* : NativeString */; -val* var13 /* : String */; +val* var10 /* : nullable Int */; +val* var11 /* : nullable Int */; +val* var12 /* : nullable Bool */; +val* var13 /* : nullable Bool */; static val* varonce14; val* var15 /* : String */; -char* var16 /* : NativeString */; +char* var16 /* : CString */; val* var17 /* : String */; -static val* varonce18; -val* var19 /* : String */; -char* var20 /* : NativeString */; -val* var21 /* : String */; -val* var22 /* : String */; -val* var23 /* : MClass */; -val* var25 /* : MClass */; -val* var26 /* : String */; -val* var27 /* : Map[MProperty, APropdef] */; -val* var29 /* : Map[MProperty, APropdef] */; -val* var30 /* : nullable Object */; -val* var31 /* : Location */; -val* var33 /* : Location */; -long var34 /* : Int */; -long var36 /* : Int */; -val* var37 /* : String */; +val* var18 /* : nullable Int */; +val* var19 /* : nullable Int */; +val* var20 /* : nullable Bool */; +val* var21 /* : nullable Bool */; +static val* varonce22; +val* var23 /* : String */; +char* var24 /* : CString */; +val* var25 /* : String */; +val* var26 /* : nullable Int */; +val* var27 /* : nullable Int */; +val* var28 /* : nullable Bool */; +val* var29 /* : nullable Bool */; +static val* varonce30; +val* var31 /* : String */; +char* var32 /* : CString */; +val* var33 /* : String */; +val* var34 /* : nullable Int */; +val* var35 /* : nullable Int */; +val* var36 /* : nullable Bool */; +val* var37 /* : nullable Bool */; val* var38 /* : String */; -short int var39 /* : Bool */; -short int var40 /* : Bool */; +val* var39 /* : MClass */; +val* var41 /* : MClass */; +val* var42 /* : String */; +val* var43 /* : Map[MProperty, APropdef] */; +val* var45 /* : Map[MProperty, APropdef] */; +val* var46 /* : nullable Object */; +val* var47 /* : Location */; +val* var49 /* : Location */; +long var50 /* : Int */; +long var52 /* : Int */; +val* var53 /* : String */; +val* var54 /* : String */; +short int var55 /* : Bool */; +short int var56 /* : Bool */; int cltype; int idtype; short int var_ /* var : Bool */; -short int var41 /* : Bool */; -short int var43 /* : Bool */; -short int var44 /* : Bool */; -short int var45 /* : Bool */; +short int var57 /* : Bool */; +short int var59 /* : Bool */; +short int var60 /* : Bool */; +short int var61 /* : Bool */; val* var_other /* var other: nullable Object */; -short int var47 /* : Bool */; -short int var49 /* : Bool */; -val* var51 /* : NativeArray[String] */; -static val* varonce50; -static val* varonce52; -val* var53 /* : String */; -char* var54 /* : NativeString */; -val* var55 /* : String */; -static val* varonce56; -val* var57 /* : String */; -char* var58 /* : NativeString */; -val* var59 /* : String */; -static val* varonce60; -val* var61 /* : String */; -char* var62 /* : NativeString */; -val* var63 /* : String */; -val* var64 /* : MClass */; -val* var66 /* : MClass */; -val* var67 /* : String */; -val* var68 /* : String */; -val* var70 /* : String */; +short int var63 /* : Bool */; +short int var65 /* : Bool */; +val* var67 /* : NativeArray[String] */; +static val* varonce66; +static val* varonce68; +val* var69 /* : String */; +char* var70 /* : CString */; val* var71 /* : String */; -short int var72 /* : Bool */; -val* var73 /* : MClassDef */; -val* var75 /* : MClassDef */; -val* var76 /* : MModule */; -val* var78 /* : MModule */; -val* var79 /* : nullable MGroup */; -val* var81 /* : nullable MGroup */; -short int var82 /* : Bool */; -short int var83 /* : Bool */; -val* var_other85 /* var other: nullable Object */; -short int var86 /* : Bool */; -short int var87 /* : Bool */; -short int var_88 /* var : Bool */; -val* var89 /* : MVisibility */; -val* var91 /* : MVisibility */; -val* var92 /* : Sys */; -val* var93 /* : MVisibility */; -short int var94 /* : Bool */; -val* var95 /* : Model */; -val* var97 /* : Model */; +val* var72 /* : nullable Int */; +val* var73 /* : nullable Int */; +val* var74 /* : nullable Bool */; +val* var75 /* : nullable Bool */; +static val* varonce76; +val* var77 /* : String */; +char* var78 /* : CString */; +val* var79 /* : String */; +val* var80 /* : nullable Int */; +val* var81 /* : nullable Int */; +val* var82 /* : nullable Bool */; +val* var83 /* : nullable Bool */; +static val* varonce84; +val* var85 /* : String */; +char* var86 /* : CString */; +val* var87 /* : String */; +val* var88 /* : nullable Int */; +val* var89 /* : nullable Int */; +val* var90 /* : nullable Bool */; +val* var91 /* : nullable Bool */; +val* var92 /* : MClass */; +val* var94 /* : MClass */; +val* var95 /* : String */; +val* var96 /* : String */; val* var98 /* : String */; -val* var100 /* : String */; -val* var101 /* : nullable Array[MProperty] */; -val* var_others /* var others: nullable Array[MProperty] */; -short int var102 /* : Bool */; -short int var103 /* : Bool */; -short int var105 /* : Bool */; -short int var106 /* : Bool */; -val* var_107 /* var : Array[MProperty] */; -val* var108 /* : IndexedIterator[nullable Object] */; -val* var_109 /* var : IndexedIterator[MProperty] */; +val* var99 /* : String */; +short int var100 /* : Bool */; +val* var101 /* : MClassDef */; +val* var103 /* : MClassDef */; +val* var104 /* : MModule */; +val* var106 /* : MModule */; +val* var107 /* : nullable MGroup */; +val* var109 /* : nullable MGroup */; short int var110 /* : Bool */; -val* var111 /* : nullable Object */; -val* var_other112 /* var other: MProperty */; -short int var113 /* : Bool */; +short int var111 /* : Bool */; +val* var_other113 /* var other: nullable Object */; short int var114 /* : Bool */; short int var115 /* : Bool */; -short int var116 /* : Bool */; -short int var117 /* : Bool */; -short int var119 /* : Bool */; -short int var120 /* : Bool */; -short int var_121 /* var : Bool */; -val* var122 /* : MClassDef */; -val* var124 /* : MClassDef */; -val* var125 /* : MModule */; -val* var127 /* : MModule */; -val* var128 /* : nullable MGroup */; -val* var130 /* : nullable MGroup */; +short int var_116 /* var : Bool */; +val* var117 /* : MVisibility */; +val* var119 /* : MVisibility */; +val* var120 /* : Sys */; +val* var121 /* : MVisibility */; +short int var122 /* : Bool */; +val* var123 /* : Model */; +val* var125 /* : Model */; +val* var126 /* : String */; +val* var128 /* : String */; +val* var129 /* : nullable Array[MProperty] */; +val* var_others /* var others: nullable Array[MProperty] */; +short int var130 /* : Bool */; short int var131 /* : Bool */; -short int var132 /* : Bool */; +short int var133 /* : Bool */; short int var134 /* : Bool */; -short int var135 /* : Bool */; -short int var_136 /* var : Bool */; -val* var137 /* : MClassDef */; -val* var139 /* : MClassDef */; -val* var140 /* : MModule */; -val* var142 /* : MModule */; -val* var143 /* : nullable MGroup */; -val* var145 /* : nullable MGroup */; -val* var146 /* : MPackage */; -val* var148 /* : MPackage */; -val* var149 /* : MClassDef */; -val* var151 /* : MClassDef */; -val* var152 /* : MModule */; -val* var154 /* : MModule */; -val* var155 /* : nullable MGroup */; -val* var157 /* : nullable MGroup */; -val* var158 /* : MPackage */; -val* var160 /* : MPackage */; -short int var161 /* : Bool */; +val* var_135 /* var : Array[MProperty] */; +val* var136 /* : IndexedIterator[nullable Object] */; +val* var_137 /* var : IndexedIterator[MProperty] */; +short int var138 /* : Bool */; +val* var139 /* : nullable Object */; +val* var_other140 /* var other: MProperty */; +short int var141 /* : Bool */; +short int var142 /* : Bool */; +short int var143 /* : Bool */; +short int var144 /* : Bool */; +short int var145 /* : Bool */; +short int var147 /* : Bool */; +short int var148 /* : Bool */; +short int var_149 /* var : Bool */; +val* var150 /* : MClassDef */; +val* var152 /* : MClassDef */; +val* var153 /* : MModule */; +val* var155 /* : MModule */; +val* var156 /* : nullable MGroup */; +val* var158 /* : nullable MGroup */; +short int var159 /* : Bool */; +short int var160 /* : Bool */; +short int var162 /* : Bool */; short int var163 /* : Bool */; -short int var165 /* : Bool */; -short int var_166 /* var : Bool */; +short int var_164 /* var : Bool */; +val* var165 /* : MClassDef */; val* var167 /* : MClassDef */; -val* var169 /* : MClassDef */; -val* var170 /* : MClass */; -val* var172 /* : MClass */; -val* var173 /* : String */; -val* var175 /* : String */; -val* var176 /* : MClassDef */; -val* var178 /* : MClassDef */; -val* var179 /* : MClass */; -val* var181 /* : MClass */; -val* var182 /* : String */; -val* var184 /* : String */; -short int var185 /* : Bool */; -short int var_186 /* var : Bool */; -val* var187 /* : MVisibility */; -val* var189 /* : MVisibility */; -val* var190 /* : Sys */; -val* var191 /* : MVisibility */; -short int var192 /* : Bool */; -static val* varonce193; -val* var194 /* : String */; -char* var195 /* : NativeString */; -val* var196 /* : String */; -val* var198 /* : NativeArray[String] */; -static val* varonce197; -static val* varonce199; -val* var200 /* : String */; -char* var201 /* : NativeString */; -val* var202 /* : String */; -static val* varonce203; -val* var204 /* : String */; -char* var205 /* : NativeString */; -val* var206 /* : String */; -static val* varonce207; -val* var208 /* : String */; -char* var209 /* : NativeString */; +val* var168 /* : MModule */; +val* var170 /* : MModule */; +val* var171 /* : nullable MGroup */; +val* var173 /* : nullable MGroup */; +val* var174 /* : MPackage */; +val* var176 /* : MPackage */; +val* var177 /* : MClassDef */; +val* var179 /* : MClassDef */; +val* var180 /* : MModule */; +val* var182 /* : MModule */; +val* var183 /* : nullable MGroup */; +val* var185 /* : nullable MGroup */; +val* var186 /* : MPackage */; +val* var188 /* : MPackage */; +short int var189 /* : Bool */; +short int var191 /* : Bool */; +short int var193 /* : Bool */; +short int var_194 /* var : Bool */; +val* var195 /* : MClassDef */; +val* var197 /* : MClassDef */; +val* var198 /* : MClass */; +val* var200 /* : MClass */; +val* var201 /* : String */; +val* var203 /* : String */; +val* var204 /* : MClassDef */; +val* var206 /* : MClassDef */; +val* var207 /* : MClass */; +val* var209 /* : MClass */; val* var210 /* : String */; -static val* varonce211; val* var212 /* : String */; -char* var213 /* : NativeString */; -val* var214 /* : String */; -val* var215 /* : String */; -val* var216 /* : MClassDef */; -val* var218 /* : MClassDef */; -val* var219 /* : MModule */; -val* var221 /* : MModule */; +short int var213 /* : Bool */; +short int var_214 /* var : Bool */; +val* var215 /* : MVisibility */; +val* var217 /* : MVisibility */; +val* var218 /* : Sys */; +val* var219 /* : MVisibility */; +short int var220 /* : Bool */; +static val* varonce221; val* var222 /* : String */; -val* var223 /* : MClassDef */; -val* var225 /* : MClassDef */; -val* var226 /* : MClass */; -val* var228 /* : MClass */; -val* var229 /* : String */; -val* var231 /* : String */; +char* var223 /* : CString */; +val* var224 /* : String */; +val* var225 /* : nullable Int */; +val* var226 /* : nullable Int */; +val* var227 /* : nullable Bool */; +val* var228 /* : nullable Bool */; +val* var230 /* : NativeArray[String] */; +static val* varonce229; +static val* varonce231; val* var232 /* : String */; -short int var233 /* : Bool */; -val* var235 /* : NativeArray[String] */; -static val* varonce234; -static val* varonce236; -val* var237 /* : String */; -char* var238 /* : NativeString */; -val* var239 /* : String */; -static val* varonce240; -val* var241 /* : String */; -char* var242 /* : NativeString */; -val* var243 /* : String */; -static val* varonce244; -val* var245 /* : String */; -char* var246 /* : NativeString */; -val* var247 /* : String */; -val* var248 /* : MClass */; -val* var250 /* : MClass */; -val* var251 /* : String */; -val* var252 /* : String */; -val* var254 /* : String */; -val* var255 /* : String */; +char* var233 /* : CString */; +val* var234 /* : String */; +val* var235 /* : nullable Int */; +val* var236 /* : nullable Int */; +val* var237 /* : nullable Bool */; +val* var238 /* : nullable Bool */; +static val* varonce239; +val* var240 /* : String */; +char* var241 /* : CString */; +val* var242 /* : String */; +val* var243 /* : nullable Int */; +val* var244 /* : nullable Int */; +val* var245 /* : nullable Bool */; +val* var246 /* : nullable Bool */; +static val* varonce247; +val* var248 /* : String */; +char* var249 /* : CString */; +val* var250 /* : String */; +val* var251 /* : nullable Int */; +val* var252 /* : nullable Int */; +val* var253 /* : nullable Bool */; +val* var254 /* : nullable Bool */; +static val* varonce255; +val* var256 /* : String */; +char* var257 /* : CString */; +val* var258 /* : String */; +val* var259 /* : nullable Int */; +val* var260 /* : nullable Int */; +val* var261 /* : nullable Bool */; +val* var262 /* : nullable Bool */; +val* var263 /* : String */; +val* var264 /* : MClassDef */; +val* var266 /* : MClassDef */; +val* var267 /* : MModule */; +val* var269 /* : MModule */; +val* var270 /* : String */; +val* var271 /* : MClassDef */; +val* var273 /* : MClassDef */; +val* var274 /* : MClass */; +val* var276 /* : MClass */; +val* var277 /* : String */; +val* var279 /* : String */; +val* var280 /* : String */; +short int var281 /* : Bool */; +val* var283 /* : NativeArray[String] */; +static val* varonce282; +static val* varonce284; +val* var285 /* : String */; +char* var286 /* : CString */; +val* var287 /* : String */; +val* var288 /* : nullable Int */; +val* var289 /* : nullable Int */; +val* var290 /* : nullable Bool */; +val* var291 /* : nullable Bool */; +static val* varonce292; +val* var293 /* : String */; +char* var294 /* : CString */; +val* var295 /* : String */; +val* var296 /* : nullable Int */; +val* var297 /* : nullable Int */; +val* var298 /* : nullable Bool */; +val* var299 /* : nullable Bool */; +static val* varonce300; +val* var301 /* : String */; +char* var302 /* : CString */; +val* var303 /* : String */; +val* var304 /* : nullable Int */; +val* var305 /* : nullable Int */; +val* var306 /* : nullable Bool */; +val* var307 /* : nullable Bool */; +val* var308 /* : MClass */; +val* var310 /* : MClass */; +val* var311 /* : String */; +val* var312 /* : String */; +val* var314 /* : String */; +val* var315 /* : String */; var_modelbuilder = p0; var_mclassdef = p1; var_kwredef = p2; var_need_redef = p3; var_mprop = p4; { -{ /* Inline modelize_property#MClassDef#mprop2npropdef (var_mclassdef) on */ +{ /* Inline modelize_property$MClassDef$mprop2npropdef (var_mclassdef) on */ var3 = var_mclassdef->attrs[COLOR_nitc__modelize_property__MClassDef___mprop2npropdef].val; /* _mprop2npropdef on */ if (unlikely(var3 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mprop2npropdef"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property, 506); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property, 504); fatal_exit(1); } var1 = var3; @@ -7313,109 +8460,134 @@ var4 = ((short int(*)(val* self, val* p0))((((long)var1&3)?class_info[((long)var } if (var4){ if (unlikely(varonce==NULL)) { -var5 = NEW_core__NativeArray(7l, &type_core__NativeArray__core__String); +var5 = NEW_core__NativeArray((int)7l, &type_core__NativeArray__core__String); if (likely(varonce6!=NULL)) { var7 = varonce6; } else { var8 = "Error: a property `"; -var9 = core__flat___NativeString___to_s_full(var8, 19l, 19l); +var10 = (val*)(19l<<2|1); +var11 = (val*)(19l<<2|1); +var12 = (val*)((long)(0)<<2|3); +var13 = (val*)((long)(0)<<2|3); +var9 = core__flat___CString___to_s_unsafe(var8, var10, var11, var12, var13); var7 = var9; varonce6 = var7; } ((struct instance_core__NativeArray*)var5)->values[0]=var7; -if (likely(varonce10!=NULL)) { -var11 = varonce10; -} else { -var12 = "` is already defined in class `"; -var13 = core__flat___NativeString___to_s_full(var12, 31l, 31l); -var11 = var13; -varonce10 = var11; -} -((struct instance_core__NativeArray*)var5)->values[2]=var11; if (likely(varonce14!=NULL)) { var15 = varonce14; } else { -var16 = "` at line "; -var17 = core__flat___NativeString___to_s_full(var16, 10l, 10l); +var16 = "` is already defined in class `"; +var18 = (val*)(31l<<2|1); +var19 = (val*)(31l<<2|1); +var20 = (val*)((long)(0)<<2|3); +var21 = (val*)((long)(0)<<2|3); +var17 = core__flat___CString___to_s_unsafe(var16, var18, var19, var20, var21); var15 = var17; varonce14 = var15; } -((struct instance_core__NativeArray*)var5)->values[4]=var15; -if (likely(varonce18!=NULL)) { -var19 = varonce18; +((struct instance_core__NativeArray*)var5)->values[2]=var15; +if (likely(varonce22!=NULL)) { +var23 = varonce22; } else { -var20 = "."; -var21 = core__flat___NativeString___to_s_full(var20, 1l, 1l); -var19 = var21; -varonce18 = var19; +var24 = "` at line "; +var26 = (val*)(10l<<2|1); +var27 = (val*)(10l<<2|1); +var28 = (val*)((long)(0)<<2|3); +var29 = (val*)((long)(0)<<2|3); +var25 = core__flat___CString___to_s_unsafe(var24, var26, var27, var28, var29); +var23 = var25; +varonce22 = var23; +} +((struct instance_core__NativeArray*)var5)->values[4]=var23; +if (likely(varonce30!=NULL)) { +var31 = varonce30; +} else { +var32 = "."; +var34 = (val*)(1l<<2|1); +var35 = (val*)(1l<<2|1); +var36 = (val*)((long)(0)<<2|3); +var37 = (val*)((long)(0)<<2|3); +var33 = core__flat___CString___to_s_unsafe(var32, var34, var35, var36, var37); +var31 = var33; +varonce30 = var31; } -((struct instance_core__NativeArray*)var5)->values[6]=var19; +((struct instance_core__NativeArray*)var5)->values[6]=var31; } else { var5 = varonce; varonce = NULL; } { -var22 = ((val*(*)(val* self))(var_mprop->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_mprop); /* to_s on */ +var38 = ((val*(*)(val* self))(var_mprop->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_mprop); /* to_s on */ } -((struct instance_core__NativeArray*)var5)->values[1]=var22; +((struct instance_core__NativeArray*)var5)->values[1]=var38; { -{ /* Inline model#MClassDef#mclass (var_mclassdef) on */ -var25 = var_mclassdef->attrs[COLOR_nitc__model__MClassDef___mclass].val; /* _mclass on */ -if (unlikely(var25 == NULL)) { +{ /* Inline model$MClassDef$mclass (var_mclassdef) on */ +var41 = var_mclassdef->attrs[COLOR_nitc__model__MClassDef___mclass].val; /* _mclass on */ +if (unlikely(var41 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclass"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 576); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 591); fatal_exit(1); } -var23 = var25; -RET_LABEL24:(void)0; +var39 = var41; +RET_LABEL40:(void)0; } } { -var26 = ((val*(*)(val* self))(var23->class->vft[COLOR_core__abstract_text__Object__to_s]))(var23); /* to_s on */ +var42 = ((val*(*)(val* self))(var39->class->vft[COLOR_core__abstract_text__Object__to_s]))(var39); /* to_s on */ } -((struct instance_core__NativeArray*)var5)->values[3]=var26; +((struct instance_core__NativeArray*)var5)->values[3]=var42; { -{ /* Inline modelize_property#MClassDef#mprop2npropdef (var_mclassdef) on */ -var29 = var_mclassdef->attrs[COLOR_nitc__modelize_property__MClassDef___mprop2npropdef].val; /* _mprop2npropdef on */ -if (unlikely(var29 == NULL)) { +{ /* Inline modelize_property$MClassDef$mprop2npropdef (var_mclassdef) on */ +var45 = var_mclassdef->attrs[COLOR_nitc__modelize_property__MClassDef___mprop2npropdef].val; /* _mprop2npropdef on */ +if (unlikely(var45 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mprop2npropdef"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property, 506); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property, 504); fatal_exit(1); } -var27 = var29; -RET_LABEL28:(void)0; +var43 = var45; +RET_LABEL44:(void)0; } } { -var30 = ((val*(*)(val* self, val* p0))((((long)var27&3)?class_info[((long)var27&3)]:var27->class)->vft[COLOR_core__abstract_collection__MapRead___91d_93d]))(var27, var_mprop); /* [] on */ +var46 = ((val*(*)(val* self, val* p0))((((long)var43&3)?class_info[((long)var43&3)]:var43->class)->vft[COLOR_core__abstract_collection__MapRead___91d_93d]))(var43, var_mprop); /* [] on */ } { -{ /* Inline parser_nodes#ANode#location (var30) on */ -var33 = var30->attrs[COLOR_nitc__parser_nodes__ANode___location].val; /* _location on */ -if (unlikely(var33 == NULL)) { +{ /* Inline parser_nodes$ANode$location (var46) on */ +var49 = var46->attrs[COLOR_nitc__parser_nodes__ANode___location].val; /* _location on */ +if (unlikely(var49 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _location"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 24); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 25); fatal_exit(1); } -var31 = var33; -RET_LABEL32:(void)0; +var47 = var49; +RET_LABEL48:(void)0; } } { -{ /* Inline location#Location#line_start (var31) on */ -var36 = var31->attrs[COLOR_nitc__location__Location___line_start].l; /* _line_start on */ -var34 = var36; -RET_LABEL35:(void)0; +{ /* Inline location$Location$line_start (var47) on */ +var52 = var47->attrs[COLOR_nitc__location__Location___line_start].l; /* _line_start on */ +var50 = var52; +RET_LABEL51:(void)0; } } -var37 = core__flat___Int___core__abstract_text__Object__to_s(var34); -((struct instance_core__NativeArray*)var5)->values[5]=var37; +var53 = core__flat___Int___core__abstract_text__Object__to_s(var50); +((struct instance_core__NativeArray*)var5)->values[5]=var53; { -var38 = ((val*(*)(val* self))(var5->class->vft[COLOR_core__abstract_text__NativeArray__native_to_s]))(var5); /* native_to_s on */ +var54 = ((val*(*)(val* self))(var5->class->vft[COLOR_core__abstract_text__NativeArray__native_to_s]))(var5); /* native_to_s on */ } varonce = var5; { -nitc___nitc__ModelBuilder___error(var_modelbuilder, self, var38); /* Direct call modelbuilder_base#ModelBuilder#error on */ +nitc___nitc__ModelBuilder___error(var_modelbuilder, self, var54); /* Direct call modelbuilder_base$ModelBuilder$error on */ } var = 0; goto RET_LABEL; @@ -7425,776 +8597,919 @@ goto RET_LABEL; cltype = type_nitc__MMethod.color; idtype = type_nitc__MMethod.id; if(cltype >= var_mprop->type->table_size) { -var40 = 0; +var56 = 0; } else { -var40 = var_mprop->type->type_table[cltype] == idtype; +var56 = var_mprop->type->type_table[cltype] == idtype; } -var_ = var40; -if (var40){ +var_ = var56; +if (var56){ { -{ /* Inline model#MMethod#is_root_init (var_mprop) on */ -var43 = var_mprop->attrs[COLOR_nitc__model__MMethod___is_root_init].s; /* _is_root_init on */ -var41 = var43; -RET_LABEL42:(void)0; +{ /* Inline model$MMethod$is_root_init (var_mprop) on */ +var59 = var_mprop->attrs[COLOR_nitc__model__MMethod___is_root_init].s; /* _is_root_init on */ +var57 = var59; +RET_LABEL58:(void)0; } } -var39 = var41; +var55 = var57; } else { -var39 = var_; +var55 = var_; } -if (var39){ +if (var55){ var = 1; goto RET_LABEL; } else { } if (var_kwredef == NULL) { -var44 = 1; /* is null */ +var60 = 1; /* is null */ } else { -var44 = 0; /* arg is null but recv is not */ +var60 = 0; /* arg is null but recv is not */ } if (0) { -{ /* Inline kernel#Object#== (var_kwredef,((val*)NULL)) on */ +{ /* Inline kernel$Object$== (var_kwredef,((val*)NULL)) on */ var_other = ((val*)NULL); { -{ /* Inline kernel#Object#is_same_instance (var_kwredef,var_other) on */ -var49 = var_kwredef == var_other; -var47 = var49; -goto RET_LABEL48; -RET_LABEL48:(void)0; +{ /* Inline kernel$Object$is_same_instance (var_kwredef,var_other) on */ +var65 = var_kwredef == var_other; +var63 = var65; +goto RET_LABEL64; +RET_LABEL64:(void)0; } } -var45 = var47; -goto RET_LABEL46; -RET_LABEL46:(void)0; +var61 = var63; +goto RET_LABEL62; +RET_LABEL62:(void)0; } -var44 = var45; +var60 = var61; } -if (var44){ +if (var60){ if (var_need_redef){ -if (unlikely(varonce50==NULL)) { -var51 = NEW_core__NativeArray(5l, &type_core__NativeArray__core__String); -if (likely(varonce52!=NULL)) { -var53 = varonce52; -} else { -var54 = "Redef Error: `"; -var55 = core__flat___NativeString___to_s_full(var54, 14l, 14l); -var53 = var55; -varonce52 = var53; +if (unlikely(varonce66==NULL)) { +var67 = NEW_core__NativeArray((int)5l, &type_core__NativeArray__core__String); +if (likely(varonce68!=NULL)) { +var69 = varonce68; +} else { +var70 = "Redef Error: `"; +var72 = (val*)(14l<<2|1); +var73 = (val*)(14l<<2|1); +var74 = (val*)((long)(0)<<2|3); +var75 = (val*)((long)(0)<<2|3); +var71 = core__flat___CString___to_s_unsafe(var70, var72, var73, var74, var75); +var69 = var71; +varonce68 = var69; } -((struct instance_core__NativeArray*)var51)->values[0]=var53; -if (likely(varonce56!=NULL)) { -var57 = varonce56; +((struct instance_core__NativeArray*)var67)->values[0]=var69; +if (likely(varonce76!=NULL)) { +var77 = varonce76; } else { -var58 = "::"; -var59 = core__flat___NativeString___to_s_full(var58, 2l, 2l); -var57 = var59; -varonce56 = var57; +var78 = "::"; +var80 = (val*)(2l<<2|1); +var81 = (val*)(2l<<2|1); +var82 = (val*)((long)(0)<<2|3); +var83 = (val*)((long)(0)<<2|3); +var79 = core__flat___CString___to_s_unsafe(var78, var80, var81, var82, var83); +var77 = var79; +varonce76 = var77; } -((struct instance_core__NativeArray*)var51)->values[2]=var57; -if (likely(varonce60!=NULL)) { -var61 = varonce60; +((struct instance_core__NativeArray*)var67)->values[2]=var77; +if (likely(varonce84!=NULL)) { +var85 = varonce84; } else { -var62 = "` is an inherited property. To redefine it, add the `redef` keyword."; -var63 = core__flat___NativeString___to_s_full(var62, 68l, 68l); -var61 = var63; -varonce60 = var61; +var86 = "` is an inherited property. To redefine it, add the `redef` keyword."; +var88 = (val*)(68l<<2|1); +var89 = (val*)(68l<<2|1); +var90 = (val*)((long)(0)<<2|3); +var91 = (val*)((long)(0)<<2|3); +var87 = core__flat___CString___to_s_unsafe(var86, var88, var89, var90, var91); +var85 = var87; +varonce84 = var85; } -((struct instance_core__NativeArray*)var51)->values[4]=var61; +((struct instance_core__NativeArray*)var67)->values[4]=var85; } else { -var51 = varonce50; -varonce50 = NULL; +var67 = varonce66; +varonce66 = NULL; } { -{ /* Inline model#MClassDef#mclass (var_mclassdef) on */ -var66 = var_mclassdef->attrs[COLOR_nitc__model__MClassDef___mclass].val; /* _mclass on */ -if (unlikely(var66 == NULL)) { +{ /* Inline model$MClassDef$mclass (var_mclassdef) on */ +var94 = var_mclassdef->attrs[COLOR_nitc__model__MClassDef___mclass].val; /* _mclass on */ +if (unlikely(var94 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclass"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 576); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 591); fatal_exit(1); } -var64 = var66; -RET_LABEL65:(void)0; +var92 = var94; +RET_LABEL93:(void)0; } } { -var67 = ((val*(*)(val* self))(var64->class->vft[COLOR_core__abstract_text__Object__to_s]))(var64); /* to_s on */ +var95 = ((val*(*)(val* self))(var92->class->vft[COLOR_core__abstract_text__Object__to_s]))(var92); /* to_s on */ } -((struct instance_core__NativeArray*)var51)->values[1]=var67; +((struct instance_core__NativeArray*)var67)->values[1]=var95; { -{ /* Inline model#MProperty#name (var_mprop) on */ -var70 = var_mprop->attrs[COLOR_nitc__model__MProperty___name].val; /* _name on */ -if (unlikely(var70 == NULL)) { +{ /* Inline model$MProperty$name (var_mprop) on */ +var98 = var_mprop->attrs[COLOR_nitc__model__MProperty___name].val; /* _name on */ +if (unlikely(var98 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _name"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 1951); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2047); fatal_exit(1); } -var68 = var70; -RET_LABEL69:(void)0; +var96 = var98; +RET_LABEL97:(void)0; } } -((struct instance_core__NativeArray*)var51)->values[3]=var68; +((struct instance_core__NativeArray*)var67)->values[3]=var96; { -var71 = ((val*(*)(val* self))(var51->class->vft[COLOR_core__abstract_text__NativeArray__native_to_s]))(var51); /* native_to_s on */ +var99 = ((val*(*)(val* self))(var67->class->vft[COLOR_core__abstract_text__NativeArray__native_to_s]))(var67); /* native_to_s on */ } -varonce50 = var51; +varonce66 = var67; { -nitc___nitc__ModelBuilder___error(var_modelbuilder, self, var71); /* Direct call modelbuilder_base#ModelBuilder#error on */ +nitc___nitc__ModelBuilder___error(var_modelbuilder, self, var99); /* Direct call modelbuilder_base$ModelBuilder$error on */ } var = 0; goto RET_LABEL; } else { } { -{ /* Inline model#MProperty#intro_mclassdef (var_mprop) on */ -var75 = var_mprop->attrs[COLOR_nitc__model__MProperty___intro_mclassdef].val; /* _intro_mclassdef on */ -if (unlikely(var75 == NULL)) { +{ /* Inline model$MProperty$intro_mclassdef (var_mprop) on */ +var103 = var_mprop->attrs[COLOR_nitc__model__MProperty___intro_mclassdef].val; /* _intro_mclassdef on */ +if (unlikely(var103 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _intro_mclassdef"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 1946); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2042); fatal_exit(1); } -var73 = var75; -RET_LABEL74:(void)0; +var101 = var103; +RET_LABEL102:(void)0; } } { -{ /* Inline model#MClassDef#mmodule (var73) on */ -var78 = var73->attrs[COLOR_nitc__model__MClassDef___mmodule].val; /* _mmodule on */ -if (unlikely(var78 == NULL)) { +{ /* Inline model$MClassDef$mmodule (var101) on */ +var106 = var101->attrs[COLOR_nitc__model__MClassDef___mmodule].val; /* _mmodule on */ +if (unlikely(var106 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mmodule"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 573); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 588); fatal_exit(1); } -var76 = var78; -RET_LABEL77:(void)0; +var104 = var106; +RET_LABEL105:(void)0; } } { -{ /* Inline mmodule#MModule#mgroup (var76) on */ -var81 = var76->attrs[COLOR_nitc__mmodule__MModule___mgroup].val; /* _mgroup on */ -var79 = var81; -RET_LABEL80:(void)0; +{ /* Inline mmodule$MModule$mgroup (var104) on */ +var109 = var104->attrs[COLOR_nitc__mmodule__MModule___mgroup].val; /* _mgroup on */ +var107 = var109; +RET_LABEL108:(void)0; } } -if (var79 == NULL) { -var82 = 0; /* is null */ +if (var107 == NULL) { +var110 = 0; /* is null */ } else { -var82 = 1; /* arg is null and recv is not */ +var110 = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var79,((val*)NULL)) on */ -var_other85 = ((val*)NULL); +{ /* Inline kernel$Object$!= (var107,((val*)NULL)) on */ +var_other113 = ((val*)NULL); { -var86 = ((short int(*)(val* self, val* p0))(var79->class->vft[COLOR_core__kernel__Object___61d_61d]))(var79, var_other85); /* == on */ +var114 = ((short int(*)(val* self, val* p0))(var107->class->vft[COLOR_core__kernel__Object___61d_61d]))(var107, var_other113); /* == on */ } -var87 = !var86; -var83 = var87; -goto RET_LABEL84; -RET_LABEL84:(void)0; +var115 = !var114; +var111 = var115; +goto RET_LABEL112; +RET_LABEL112:(void)0; } -var82 = var83; +var110 = var111; } -var_88 = var82; -if (var82){ +var_116 = var110; +if (var110){ { -{ /* Inline model#MProperty#visibility (var_mprop) on */ -var91 = var_mprop->attrs[COLOR_nitc__model__MProperty___visibility].val; /* _visibility on */ -if (unlikely(var91 == NULL)) { +{ /* Inline model$MProperty$visibility (var_mprop) on */ +var119 = var_mprop->attrs[COLOR_nitc__model__MProperty___visibility].val; /* _visibility on */ +if (unlikely(var119 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _visibility"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 1967); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2078); fatal_exit(1); } -var89 = var91; -RET_LABEL90:(void)0; +var117 = var119; +RET_LABEL118:(void)0; } } -var92 = glob_sys; +var120 = glob_sys; { -var93 = nitc__model_base___core__Sys___protected_visibility(var92); +var121 = nitc__model_base___core__Sys___protected_visibility(var120); } { -var94 = core___core__Comparable____62d_61d(var89, var93); +var122 = core___core__Comparable____62d_61d(var117, var121); } -var72 = var94; +var100 = var122; } else { -var72 = var_88; +var100 = var_116; } -if (var72){ +if (var100){ { -{ /* Inline modelbuilder_base#ModelBuilder#model (var_modelbuilder) on */ -var97 = var_modelbuilder->attrs[COLOR_nitc__modelbuilder_base__ModelBuilder___model].val; /* _model on */ -if (unlikely(var97 == NULL)) { +{ /* Inline modelbuilder_base$ModelBuilder$model (var_modelbuilder) on */ +var125 = var_modelbuilder->attrs[COLOR_nitc__modelbuilder_base__ModelBuilder___model].val; /* _model on */ +if (unlikely(var125 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _model"); PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelbuilder_base, 44); fatal_exit(1); } -var95 = var97; -RET_LABEL96:(void)0; +var123 = var125; +RET_LABEL124:(void)0; } } { -{ /* Inline model#MProperty#name (var_mprop) on */ -var100 = var_mprop->attrs[COLOR_nitc__model__MProperty___name].val; /* _name on */ -if (unlikely(var100 == NULL)) { +{ /* Inline model$MProperty$name (var_mprop) on */ +var128 = var_mprop->attrs[COLOR_nitc__model__MProperty___name].val; /* _name on */ +if (unlikely(var128 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _name"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 1951); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2047); fatal_exit(1); } -var98 = var100; -RET_LABEL99:(void)0; +var126 = var128; +RET_LABEL127:(void)0; } } { -var101 = nitc__model___Model___get_mproperties_by_name(var95, var98); +var129 = nitc__model___Model___get_mproperties_by_name(var123, var126); } -var_others = var101; +var_others = var129; if (var_others == NULL) { -var102 = 0; /* is null */ +var130 = 0; /* is null */ } else { -var102 = 1; /* arg is null and recv is not */ +var130 = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var_others,((val*)NULL)) on */ -var_other85 = ((val*)NULL); +{ /* Inline kernel$Object$!= (var_others,((val*)NULL)) on */ +var_other113 = ((val*)NULL); { -var105 = ((short int(*)(val* self, val* p0))(var_others->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_others, var_other85); /* == on */ +var133 = ((short int(*)(val* self, val* p0))(var_others->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_others, var_other113); /* == on */ } -var106 = !var105; -var103 = var106; -goto RET_LABEL104; -RET_LABEL104:(void)0; +var134 = !var133; +var131 = var134; +goto RET_LABEL132; +RET_LABEL132:(void)0; } -var102 = var103; +var130 = var131; } -if (var102){ -var_107 = var_others; +if (var130){ +var_135 = var_others; { -var108 = core___core__AbstractArrayRead___core__abstract_collection__Collection__iterator(var_107); +var136 = core___core__AbstractArrayRead___core__abstract_collection__Collection__iterator(var_135); } -var_109 = var108; +var_137 = var136; for(;;) { { -var110 = ((short int(*)(val* self))((((long)var_109&3)?class_info[((long)var_109&3)]:var_109->class)->vft[COLOR_core__abstract_collection__Iterator__is_ok]))(var_109); /* is_ok on */ +var138 = ((short int(*)(val* self))((((long)var_137&3)?class_info[((long)var_137&3)]:var_137->class)->vft[COLOR_core__abstract_collection__Iterator__is_ok]))(var_137); /* is_ok on */ } -if (var110){ +if (var138){ } else { goto BREAK_label; } { -var111 = ((val*(*)(val* self))((((long)var_109&3)?class_info[((long)var_109&3)]:var_109->class)->vft[COLOR_core__abstract_collection__Iterator__item]))(var_109); /* item on */ +var139 = ((val*(*)(val* self))((((long)var_137&3)?class_info[((long)var_137&3)]:var_137->class)->vft[COLOR_core__abstract_collection__Iterator__item]))(var_137); /* item on */ } -var_other112 = var111; +var_other140 = var139; { -{ /* Inline kernel#Object#!= (var_other112,var_mprop) on */ -var_other85 = var_mprop; +{ /* Inline kernel$Object$!= (var_other140,var_mprop) on */ +var_other113 = var_mprop; { -var119 = ((short int(*)(val* self, val* p0))(var_other112->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_other112, var_other85); /* == on */ +var147 = ((short int(*)(val* self, val* p0))(var_other140->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_other140, var_other113); /* == on */ } -var120 = !var119; -var117 = var120; -goto RET_LABEL118; -RET_LABEL118:(void)0; +var148 = !var147; +var145 = var148; +goto RET_LABEL146; +RET_LABEL146:(void)0; } } -var_121 = var117; -if (var117){ +var_149 = var145; +if (var145){ { -{ /* Inline model#MProperty#intro_mclassdef (var_other112) on */ -var124 = var_other112->attrs[COLOR_nitc__model__MProperty___intro_mclassdef].val; /* _intro_mclassdef on */ -if (unlikely(var124 == NULL)) { +{ /* Inline model$MProperty$intro_mclassdef (var_other140) on */ +var152 = var_other140->attrs[COLOR_nitc__model__MProperty___intro_mclassdef].val; /* _intro_mclassdef on */ +if (unlikely(var152 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _intro_mclassdef"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 1946); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2042); fatal_exit(1); } -var122 = var124; -RET_LABEL123:(void)0; +var150 = var152; +RET_LABEL151:(void)0; } } { -{ /* Inline model#MClassDef#mmodule (var122) on */ -var127 = var122->attrs[COLOR_nitc__model__MClassDef___mmodule].val; /* _mmodule on */ -if (unlikely(var127 == NULL)) { +{ /* Inline model$MClassDef$mmodule (var150) on */ +var155 = var150->attrs[COLOR_nitc__model__MClassDef___mmodule].val; /* _mmodule on */ +if (unlikely(var155 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mmodule"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 573); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 588); fatal_exit(1); } -var125 = var127; -RET_LABEL126:(void)0; +var153 = var155; +RET_LABEL154:(void)0; } } { -{ /* Inline mmodule#MModule#mgroup (var125) on */ -var130 = var125->attrs[COLOR_nitc__mmodule__MModule___mgroup].val; /* _mgroup on */ -var128 = var130; -RET_LABEL129:(void)0; +{ /* Inline mmodule$MModule$mgroup (var153) on */ +var158 = var153->attrs[COLOR_nitc__mmodule__MModule___mgroup].val; /* _mgroup on */ +var156 = var158; +RET_LABEL157:(void)0; } } -if (var128 == NULL) { -var131 = 0; /* is null */ +if (var156 == NULL) { +var159 = 0; /* is null */ } else { -var131 = 1; /* arg is null and recv is not */ +var159 = 1; /* arg is null and recv is not */ } if (0) { -{ /* Inline kernel#Object#!= (var128,((val*)NULL)) on */ -var_other85 = ((val*)NULL); +{ /* Inline kernel$Object$!= (var156,((val*)NULL)) on */ +var_other113 = ((val*)NULL); { -var134 = ((short int(*)(val* self, val* p0))(var128->class->vft[COLOR_core__kernel__Object___61d_61d]))(var128, var_other85); /* == on */ +var162 = ((short int(*)(val* self, val* p0))(var156->class->vft[COLOR_core__kernel__Object___61d_61d]))(var156, var_other113); /* == on */ } -var135 = !var134; -var132 = var135; -goto RET_LABEL133; -RET_LABEL133:(void)0; +var163 = !var162; +var160 = var163; +goto RET_LABEL161; +RET_LABEL161:(void)0; } -var131 = var132; +var159 = var160; } -var116 = var131; +var144 = var159; } else { -var116 = var_121; +var144 = var_149; } -var_136 = var116; -if (var116){ +var_164 = var144; +if (var144){ { -{ /* Inline model#MProperty#intro_mclassdef (var_other112) on */ -var139 = var_other112->attrs[COLOR_nitc__model__MProperty___intro_mclassdef].val; /* _intro_mclassdef on */ -if (unlikely(var139 == NULL)) { +{ /* Inline model$MProperty$intro_mclassdef (var_other140) on */ +var167 = var_other140->attrs[COLOR_nitc__model__MProperty___intro_mclassdef].val; /* _intro_mclassdef on */ +if (unlikely(var167 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _intro_mclassdef"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 1946); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2042); fatal_exit(1); } -var137 = var139; -RET_LABEL138:(void)0; +var165 = var167; +RET_LABEL166:(void)0; } } { -{ /* Inline model#MClassDef#mmodule (var137) on */ -var142 = var137->attrs[COLOR_nitc__model__MClassDef___mmodule].val; /* _mmodule on */ -if (unlikely(var142 == NULL)) { +{ /* Inline model$MClassDef$mmodule (var165) on */ +var170 = var165->attrs[COLOR_nitc__model__MClassDef___mmodule].val; /* _mmodule on */ +if (unlikely(var170 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mmodule"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 573); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 588); fatal_exit(1); } -var140 = var142; -RET_LABEL141:(void)0; +var168 = var170; +RET_LABEL169:(void)0; } } { -{ /* Inline mmodule#MModule#mgroup (var140) on */ -var145 = var140->attrs[COLOR_nitc__mmodule__MModule___mgroup].val; /* _mgroup on */ -var143 = var145; -RET_LABEL144:(void)0; +{ /* Inline mmodule$MModule$mgroup (var168) on */ +var173 = var168->attrs[COLOR_nitc__mmodule__MModule___mgroup].val; /* _mgroup on */ +var171 = var173; +RET_LABEL172:(void)0; +} } +if (var171 == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -if (var143 == NULL) { PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property, 639); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property, 637); fatal_exit(1); } else { -{ /* Inline mpackage#MGroup#mpackage (var143) on */ -if (unlikely(var143 == NULL)) { +{ /* Inline mpackage$MGroup$mpackage (var171) on */ +if (unlikely(var171 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__mpackage, 69); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__mpackage, 76); fatal_exit(1); } -var148 = var143->attrs[COLOR_nitc__mpackage__MGroup___mpackage].val; /* _mpackage on */ -if (unlikely(var148 == NULL)) { +var176 = var171->attrs[COLOR_nitc__mpackage__MGroup___mpackage].val; /* _mpackage on */ +if (unlikely(var176 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mpackage"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__mpackage, 69); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__mpackage, 76); fatal_exit(1); } -var146 = var148; -RET_LABEL147:(void)0; +var174 = var176; +RET_LABEL175:(void)0; } } { -{ /* Inline model#MProperty#intro_mclassdef (var_mprop) on */ -var151 = var_mprop->attrs[COLOR_nitc__model__MProperty___intro_mclassdef].val; /* _intro_mclassdef on */ -if (unlikely(var151 == NULL)) { +{ /* Inline model$MProperty$intro_mclassdef (var_mprop) on */ +var179 = var_mprop->attrs[COLOR_nitc__model__MProperty___intro_mclassdef].val; /* _intro_mclassdef on */ +if (unlikely(var179 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _intro_mclassdef"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 1946); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2042); fatal_exit(1); } -var149 = var151; -RET_LABEL150:(void)0; +var177 = var179; +RET_LABEL178:(void)0; } } { -{ /* Inline model#MClassDef#mmodule (var149) on */ -var154 = var149->attrs[COLOR_nitc__model__MClassDef___mmodule].val; /* _mmodule on */ -if (unlikely(var154 == NULL)) { +{ /* Inline model$MClassDef$mmodule (var177) on */ +var182 = var177->attrs[COLOR_nitc__model__MClassDef___mmodule].val; /* _mmodule on */ +if (unlikely(var182 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mmodule"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 573); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 588); fatal_exit(1); } -var152 = var154; -RET_LABEL153:(void)0; +var180 = var182; +RET_LABEL181:(void)0; } } { -{ /* Inline mmodule#MModule#mgroup (var152) on */ -var157 = var152->attrs[COLOR_nitc__mmodule__MModule___mgroup].val; /* _mgroup on */ -var155 = var157; -RET_LABEL156:(void)0; +{ /* Inline mmodule$MModule$mgroup (var180) on */ +var185 = var180->attrs[COLOR_nitc__mmodule__MModule___mgroup].val; /* _mgroup on */ +var183 = var185; +RET_LABEL184:(void)0; } } -if (var155 == NULL) { +if (var183 == NULL) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property, 639); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property, 637); fatal_exit(1); } else { -{ /* Inline mpackage#MGroup#mpackage (var155) on */ -if (unlikely(var155 == NULL)) { +{ /* Inline mpackage$MGroup$mpackage (var183) on */ +if (unlikely(var183 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__mpackage, 69); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__mpackage, 76); fatal_exit(1); } -var160 = var155->attrs[COLOR_nitc__mpackage__MGroup___mpackage].val; /* _mpackage on */ -if (unlikely(var160 == NULL)) { +var188 = var183->attrs[COLOR_nitc__mpackage__MGroup___mpackage].val; /* _mpackage on */ +if (unlikely(var188 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mpackage"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__mpackage, 69); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__mpackage, 76); fatal_exit(1); } -var158 = var160; -RET_LABEL159:(void)0; +var186 = var188; +RET_LABEL187:(void)0; } } { -{ /* Inline kernel#Object#== (var146,var158) on */ -var_other = var158; +{ /* Inline kernel$Object$== (var174,var186) on */ +var_other = var186; { -{ /* Inline kernel#Object#is_same_instance (var146,var_other) on */ -var165 = var146 == var_other; -var163 = var165; -goto RET_LABEL164; -RET_LABEL164:(void)0; +{ /* Inline kernel$Object$is_same_instance (var174,var_other) on */ +var193 = var174 == var_other; +var191 = var193; +goto RET_LABEL192; +RET_LABEL192:(void)0; } } -var161 = var163; -goto RET_LABEL162; -RET_LABEL162:(void)0; +var189 = var191; +goto RET_LABEL190; +RET_LABEL190:(void)0; } } -var115 = var161; +var143 = var189; } else { -var115 = var_136; +var143 = var_164; } -var_166 = var115; -if (var115){ +var_194 = var143; +if (var143){ { -{ /* Inline model#MProperty#intro_mclassdef (var_other112) on */ -var169 = var_other112->attrs[COLOR_nitc__model__MProperty___intro_mclassdef].val; /* _intro_mclassdef on */ -if (unlikely(var169 == NULL)) { +{ /* Inline model$MProperty$intro_mclassdef (var_other140) on */ +var197 = var_other140->attrs[COLOR_nitc__model__MProperty___intro_mclassdef].val; /* _intro_mclassdef on */ +if (unlikely(var197 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _intro_mclassdef"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 1946); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2042); fatal_exit(1); } -var167 = var169; -RET_LABEL168:(void)0; +var195 = var197; +RET_LABEL196:(void)0; } } { -{ /* Inline model#MClassDef#mclass (var167) on */ -var172 = var167->attrs[COLOR_nitc__model__MClassDef___mclass].val; /* _mclass on */ -if (unlikely(var172 == NULL)) { +{ /* Inline model$MClassDef$mclass (var195) on */ +var200 = var195->attrs[COLOR_nitc__model__MClassDef___mclass].val; /* _mclass on */ +if (unlikely(var200 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclass"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 576); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 591); fatal_exit(1); } -var170 = var172; -RET_LABEL171:(void)0; +var198 = var200; +RET_LABEL199:(void)0; } } { -{ /* Inline model#MClass#name (var170) on */ -var175 = var170->attrs[COLOR_nitc__model__MClass___name].val; /* _name on */ -if (unlikely(var175 == NULL)) { +{ /* Inline model$MClass$name (var198) on */ +var203 = var198->attrs[COLOR_nitc__model__MClass___name].val; /* _name on */ +if (unlikely(var203 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _name"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 385); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 396); fatal_exit(1); } -var173 = var175; -RET_LABEL174:(void)0; +var201 = var203; +RET_LABEL202:(void)0; } } { -{ /* Inline model#MProperty#intro_mclassdef (var_mprop) on */ -var178 = var_mprop->attrs[COLOR_nitc__model__MProperty___intro_mclassdef].val; /* _intro_mclassdef on */ -if (unlikely(var178 == NULL)) { +{ /* Inline model$MProperty$intro_mclassdef (var_mprop) on */ +var206 = var_mprop->attrs[COLOR_nitc__model__MProperty___intro_mclassdef].val; /* _intro_mclassdef on */ +if (unlikely(var206 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _intro_mclassdef"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 1946); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2042); fatal_exit(1); } -var176 = var178; -RET_LABEL177:(void)0; +var204 = var206; +RET_LABEL205:(void)0; } } { -{ /* Inline model#MClassDef#mclass (var176) on */ -var181 = var176->attrs[COLOR_nitc__model__MClassDef___mclass].val; /* _mclass on */ -if (unlikely(var181 == NULL)) { +{ /* Inline model$MClassDef$mclass (var204) on */ +var209 = var204->attrs[COLOR_nitc__model__MClassDef___mclass].val; /* _mclass on */ +if (unlikely(var209 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclass"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 576); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 591); fatal_exit(1); } -var179 = var181; -RET_LABEL180:(void)0; +var207 = var209; +RET_LABEL208:(void)0; } } { -{ /* Inline model#MClass#name (var179) on */ -var184 = var179->attrs[COLOR_nitc__model__MClass___name].val; /* _name on */ -if (unlikely(var184 == NULL)) { +{ /* Inline model$MClass$name (var207) on */ +var212 = var207->attrs[COLOR_nitc__model__MClass___name].val; /* _name on */ +if (unlikely(var212 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _name"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 385); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 396); fatal_exit(1); } -var182 = var184; -RET_LABEL183:(void)0; +var210 = var212; +RET_LABEL211:(void)0; } } { -var185 = ((short int(*)(val* self, val* p0))(var173->class->vft[COLOR_core__kernel__Object___61d_61d]))(var173, var182); /* == on */ +var213 = ((short int(*)(val* self, val* p0))(var201->class->vft[COLOR_core__kernel__Object___61d_61d]))(var201, var210); /* == on */ } -var114 = var185; +var142 = var213; } else { -var114 = var_166; +var142 = var_194; } -var_186 = var114; -if (var114){ +var_214 = var142; +if (var142){ { -{ /* Inline model#MProperty#visibility (var_other112) on */ -var189 = var_other112->attrs[COLOR_nitc__model__MProperty___visibility].val; /* _visibility on */ -if (unlikely(var189 == NULL)) { +{ /* Inline model$MProperty$visibility (var_other140) on */ +var217 = var_other140->attrs[COLOR_nitc__model__MProperty___visibility].val; /* _visibility on */ +if (unlikely(var217 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _visibility"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 1967); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2078); fatal_exit(1); } -var187 = var189; -RET_LABEL188:(void)0; +var215 = var217; +RET_LABEL216:(void)0; } } -var190 = glob_sys; +var218 = glob_sys; { -var191 = nitc__model_base___core__Sys___protected_visibility(var190); +var219 = nitc__model_base___core__Sys___protected_visibility(var218); } { -var192 = core___core__Comparable____62d_61d(var187, var191); -} -var113 = var192; -} else { -var113 = var_186; -} -if (var113){ -if (likely(varonce193!=NULL)) { -var194 = varonce193; -} else { -var195 = "full-name-conflict"; -var196 = core__flat___NativeString___to_s_full(var195, 18l, 18l); -var194 = var196; -varonce193 = var194; -} -if (unlikely(varonce197==NULL)) { -var198 = NEW_core__NativeArray(7l, &type_core__NativeArray__core__String); -if (likely(varonce199!=NULL)) { -var200 = varonce199; -} else { -var201 = "Warning: A property named `"; -var202 = core__flat___NativeString___to_s_full(var201, 27l, 27l); -var200 = var202; -varonce199 = var200; -} -((struct instance_core__NativeArray*)var198)->values[0]=var200; -if (likely(varonce203!=NULL)) { -var204 = varonce203; -} else { -var205 = "` is already defined in module `"; -var206 = core__flat___NativeString___to_s_full(var205, 32l, 32l); -var204 = var206; -varonce203 = var204; +var220 = core___core__Comparable____62d_61d(var215, var219); } -((struct instance_core__NativeArray*)var198)->values[2]=var204; -if (likely(varonce207!=NULL)) { -var208 = varonce207; +var141 = var220; } else { -var209 = "` for the class `"; -var210 = core__flat___NativeString___to_s_full(var209, 17l, 17l); -var208 = var210; -varonce207 = var208; +var141 = var_214; } -((struct instance_core__NativeArray*)var198)->values[4]=var208; -if (likely(varonce211!=NULL)) { -var212 = varonce211; -} else { -var213 = "`."; -var214 = core__flat___NativeString___to_s_full(var213, 2l, 2l); -var212 = var214; -varonce211 = var212; +if (var141){ +if (likely(varonce221!=NULL)) { +var222 = varonce221; +} else { +var223 = "full-name-conflict"; +var225 = (val*)(18l<<2|1); +var226 = (val*)(18l<<2|1); +var227 = (val*)((long)(0)<<2|3); +var228 = (val*)((long)(0)<<2|3); +var224 = core__flat___CString___to_s_unsafe(var223, var225, var226, var227, var228); +var222 = var224; +varonce221 = var222; +} +if (unlikely(varonce229==NULL)) { +var230 = NEW_core__NativeArray((int)7l, &type_core__NativeArray__core__String); +if (likely(varonce231!=NULL)) { +var232 = varonce231; +} else { +var233 = "Warning: A property named `"; +var235 = (val*)(27l<<2|1); +var236 = (val*)(27l<<2|1); +var237 = (val*)((long)(0)<<2|3); +var238 = (val*)((long)(0)<<2|3); +var234 = core__flat___CString___to_s_unsafe(var233, var235, var236, var237, var238); +var232 = var234; +varonce231 = var232; +} +((struct instance_core__NativeArray*)var230)->values[0]=var232; +if (likely(varonce239!=NULL)) { +var240 = varonce239; +} else { +var241 = "` is already defined in module `"; +var243 = (val*)(32l<<2|1); +var244 = (val*)(32l<<2|1); +var245 = (val*)((long)(0)<<2|3); +var246 = (val*)((long)(0)<<2|3); +var242 = core__flat___CString___to_s_unsafe(var241, var243, var244, var245, var246); +var240 = var242; +varonce239 = var240; +} +((struct instance_core__NativeArray*)var230)->values[2]=var240; +if (likely(varonce247!=NULL)) { +var248 = varonce247; +} else { +var249 = "` for the class `"; +var251 = (val*)(17l<<2|1); +var252 = (val*)(17l<<2|1); +var253 = (val*)((long)(0)<<2|3); +var254 = (val*)((long)(0)<<2|3); +var250 = core__flat___CString___to_s_unsafe(var249, var251, var252, var253, var254); +var248 = var250; +varonce247 = var248; +} +((struct instance_core__NativeArray*)var230)->values[4]=var248; +if (likely(varonce255!=NULL)) { +var256 = varonce255; +} else { +var257 = "`."; +var259 = (val*)(2l<<2|1); +var260 = (val*)(2l<<2|1); +var261 = (val*)((long)(0)<<2|3); +var262 = (val*)((long)(0)<<2|3); +var258 = core__flat___CString___to_s_unsafe(var257, var259, var260, var261, var262); +var256 = var258; +varonce255 = var256; } -((struct instance_core__NativeArray*)var198)->values[6]=var212; +((struct instance_core__NativeArray*)var230)->values[6]=var256; } else { -var198 = varonce197; -varonce197 = NULL; +var230 = varonce229; +varonce229 = NULL; } { -var215 = nitc___nitc__MProperty___nitc__model_base__MEntity__full_name(var_other112); +var263 = nitc___nitc__MProperty___nitc__model_base__MEntity__full_name(var_other140); } -((struct instance_core__NativeArray*)var198)->values[1]=var215; +((struct instance_core__NativeArray*)var230)->values[1]=var263; { -{ /* Inline model#MProperty#intro_mclassdef (var_other112) on */ -var218 = var_other112->attrs[COLOR_nitc__model__MProperty___intro_mclassdef].val; /* _intro_mclassdef on */ -if (unlikely(var218 == NULL)) { +{ /* Inline model$MProperty$intro_mclassdef (var_other140) on */ +var266 = var_other140->attrs[COLOR_nitc__model__MProperty___intro_mclassdef].val; /* _intro_mclassdef on */ +if (unlikely(var266 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _intro_mclassdef"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 1946); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2042); fatal_exit(1); } -var216 = var218; -RET_LABEL217:(void)0; +var264 = var266; +RET_LABEL265:(void)0; } } { -{ /* Inline model#MClassDef#mmodule (var216) on */ -var221 = var216->attrs[COLOR_nitc__model__MClassDef___mmodule].val; /* _mmodule on */ -if (unlikely(var221 == NULL)) { +{ /* Inline model$MClassDef$mmodule (var264) on */ +var269 = var264->attrs[COLOR_nitc__model__MClassDef___mmodule].val; /* _mmodule on */ +if (unlikely(var269 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mmodule"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 573); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 588); fatal_exit(1); } -var219 = var221; -RET_LABEL220:(void)0; +var267 = var269; +RET_LABEL268:(void)0; } } { -var222 = ((val*(*)(val* self))(var219->class->vft[COLOR_core__abstract_text__Object__to_s]))(var219); /* to_s on */ +var270 = ((val*(*)(val* self))(var267->class->vft[COLOR_core__abstract_text__Object__to_s]))(var267); /* to_s on */ } -((struct instance_core__NativeArray*)var198)->values[3]=var222; +((struct instance_core__NativeArray*)var230)->values[3]=var270; { -{ /* Inline model#MProperty#intro_mclassdef (var_other112) on */ -var225 = var_other112->attrs[COLOR_nitc__model__MProperty___intro_mclassdef].val; /* _intro_mclassdef on */ -if (unlikely(var225 == NULL)) { +{ /* Inline model$MProperty$intro_mclassdef (var_other140) on */ +var273 = var_other140->attrs[COLOR_nitc__model__MProperty___intro_mclassdef].val; /* _intro_mclassdef on */ +if (unlikely(var273 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _intro_mclassdef"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 1946); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2042); fatal_exit(1); } -var223 = var225; -RET_LABEL224:(void)0; +var271 = var273; +RET_LABEL272:(void)0; } } { -{ /* Inline model#MClassDef#mclass (var223) on */ -var228 = var223->attrs[COLOR_nitc__model__MClassDef___mclass].val; /* _mclass on */ -if (unlikely(var228 == NULL)) { +{ /* Inline model$MClassDef$mclass (var271) on */ +var276 = var271->attrs[COLOR_nitc__model__MClassDef___mclass].val; /* _mclass on */ +if (unlikely(var276 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclass"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 576); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 591); fatal_exit(1); } -var226 = var228; -RET_LABEL227:(void)0; +var274 = var276; +RET_LABEL275:(void)0; } } { -{ /* Inline model#MClass#name (var226) on */ -var231 = var226->attrs[COLOR_nitc__model__MClass___name].val; /* _name on */ -if (unlikely(var231 == NULL)) { +{ /* Inline model$MClass$name (var274) on */ +var279 = var274->attrs[COLOR_nitc__model__MClass___name].val; /* _name on */ +if (unlikely(var279 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _name"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 385); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 396); fatal_exit(1); } -var229 = var231; -RET_LABEL230:(void)0; +var277 = var279; +RET_LABEL278:(void)0; } } -((struct instance_core__NativeArray*)var198)->values[5]=var229; +((struct instance_core__NativeArray*)var230)->values[5]=var277; { -var232 = ((val*(*)(val* self))(var198->class->vft[COLOR_core__abstract_text__NativeArray__native_to_s]))(var198); /* native_to_s on */ +var280 = ((val*(*)(val* self))(var230->class->vft[COLOR_core__abstract_text__NativeArray__native_to_s]))(var230); /* native_to_s on */ } -varonce197 = var198; +varonce229 = var230; { -nitc___nitc__ModelBuilder___advice(var_modelbuilder, self, var194, var232); /* Direct call modelbuilder_base#ModelBuilder#advice on */ +nitc___nitc__ModelBuilder___advice(var_modelbuilder, self, var222, var280); /* Direct call modelbuilder_base$ModelBuilder$advice on */ } goto BREAK_label; } else { } { -((void(*)(val* self))((((long)var_109&3)?class_info[((long)var_109&3)]:var_109->class)->vft[COLOR_core__abstract_collection__Iterator__next]))(var_109); /* next on */ +((void(*)(val* self))((((long)var_137&3)?class_info[((long)var_137&3)]:var_137->class)->vft[COLOR_core__abstract_collection__Iterator__next]))(var_137); /* next on */ } } BREAK_label: (void)0; { -((void(*)(val* self))((((long)var_109&3)?class_info[((long)var_109&3)]:var_109->class)->vft[COLOR_core__abstract_collection__Iterator__finish]))(var_109); /* finish on */ +((void(*)(val* self))((((long)var_137&3)?class_info[((long)var_137&3)]:var_137->class)->vft[COLOR_core__abstract_collection__Iterator__finish]))(var_137); /* finish on */ } } else { } } else { } } else { -var233 = !var_need_redef; -if (var233){ -if (unlikely(varonce234==NULL)) { -var235 = NEW_core__NativeArray(5l, &type_core__NativeArray__core__String); -if (likely(varonce236!=NULL)) { -var237 = varonce236; -} else { -var238 = "Error: no property `"; -var239 = core__flat___NativeString___to_s_full(var238, 20l, 20l); -var237 = var239; -varonce236 = var237; -} -((struct instance_core__NativeArray*)var235)->values[0]=var237; -if (likely(varonce240!=NULL)) { -var241 = varonce240; -} else { -var242 = "::"; -var243 = core__flat___NativeString___to_s_full(var242, 2l, 2l); -var241 = var243; -varonce240 = var241; -} -((struct instance_core__NativeArray*)var235)->values[2]=var241; -if (likely(varonce244!=NULL)) { -var245 = varonce244; -} else { -var246 = "` is inherited. Remove the `redef` keyword to define a new property."; -var247 = core__flat___NativeString___to_s_full(var246, 68l, 68l); -var245 = var247; -varonce244 = var245; -} -((struct instance_core__NativeArray*)var235)->values[4]=var245; +var281 = !var_need_redef; +if (var281){ +if (unlikely(varonce282==NULL)) { +var283 = NEW_core__NativeArray((int)5l, &type_core__NativeArray__core__String); +if (likely(varonce284!=NULL)) { +var285 = varonce284; } else { -var235 = varonce234; -varonce234 = NULL; +var286 = "Error: no property `"; +var288 = (val*)(20l<<2|1); +var289 = (val*)(20l<<2|1); +var290 = (val*)((long)(0)<<2|3); +var291 = (val*)((long)(0)<<2|3); +var287 = core__flat___CString___to_s_unsafe(var286, var288, var289, var290, var291); +var285 = var287; +varonce284 = var285; +} +((struct instance_core__NativeArray*)var283)->values[0]=var285; +if (likely(varonce292!=NULL)) { +var293 = varonce292; +} else { +var294 = "::"; +var296 = (val*)(2l<<2|1); +var297 = (val*)(2l<<2|1); +var298 = (val*)((long)(0)<<2|3); +var299 = (val*)((long)(0)<<2|3); +var295 = core__flat___CString___to_s_unsafe(var294, var296, var297, var298, var299); +var293 = var295; +varonce292 = var293; +} +((struct instance_core__NativeArray*)var283)->values[2]=var293; +if (likely(varonce300!=NULL)) { +var301 = varonce300; +} else { +var302 = "` is inherited. Remove the `redef` keyword to define a new property."; +var304 = (val*)(68l<<2|1); +var305 = (val*)(68l<<2|1); +var306 = (val*)((long)(0)<<2|3); +var307 = (val*)((long)(0)<<2|3); +var303 = core__flat___CString___to_s_unsafe(var302, var304, var305, var306, var307); +var301 = var303; +varonce300 = var301; +} +((struct instance_core__NativeArray*)var283)->values[4]=var301; +} else { +var283 = varonce282; +varonce282 = NULL; +} +{ +{ /* Inline model$MClassDef$mclass (var_mclassdef) on */ +var310 = var_mclassdef->attrs[COLOR_nitc__model__MClassDef___mclass].val; /* _mclass on */ +if (unlikely(var310 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); } -{ -{ /* Inline model#MClassDef#mclass (var_mclassdef) on */ -var250 = var_mclassdef->attrs[COLOR_nitc__model__MClassDef___mclass].val; /* _mclass on */ -if (unlikely(var250 == NULL)) { PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclass"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 576); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 591); fatal_exit(1); } -var248 = var250; -RET_LABEL249:(void)0; +var308 = var310; +RET_LABEL309:(void)0; } } { -var251 = ((val*(*)(val* self))(var248->class->vft[COLOR_core__abstract_text__Object__to_s]))(var248); /* to_s on */ +var311 = ((val*(*)(val* self))(var308->class->vft[COLOR_core__abstract_text__Object__to_s]))(var308); /* to_s on */ } -((struct instance_core__NativeArray*)var235)->values[1]=var251; +((struct instance_core__NativeArray*)var283)->values[1]=var311; { -{ /* Inline model#MProperty#name (var_mprop) on */ -var254 = var_mprop->attrs[COLOR_nitc__model__MProperty___name].val; /* _name on */ -if (unlikely(var254 == NULL)) { +{ /* Inline model$MProperty$name (var_mprop) on */ +var314 = var_mprop->attrs[COLOR_nitc__model__MProperty___name].val; /* _name on */ +if (unlikely(var314 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _name"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 1951); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 2047); fatal_exit(1); } -var252 = var254; -RET_LABEL253:(void)0; +var312 = var314; +RET_LABEL313:(void)0; } } -((struct instance_core__NativeArray*)var235)->values[3]=var252; +((struct instance_core__NativeArray*)var283)->values[3]=var312; { -var255 = ((val*(*)(val* self))(var235->class->vft[COLOR_core__abstract_text__NativeArray__native_to_s]))(var235); /* native_to_s on */ +var315 = ((val*(*)(val* self))(var283->class->vft[COLOR_core__abstract_text__NativeArray__native_to_s]))(var283); /* native_to_s on */ } -varonce234 = var235; +varonce282 = var283; { -nitc___nitc__ModelBuilder___error(var_modelbuilder, self, var255); /* Direct call modelbuilder_base#ModelBuilder#error on */ +nitc___nitc__ModelBuilder___error(var_modelbuilder, self, var315); /* Direct call modelbuilder_base$ModelBuilder$error on */ } var = 0; goto RET_LABEL; @@ -8206,46 +9521,52 @@ goto RET_LABEL; RET_LABEL:; return var; } -/* method modelize_property#APropdef#check_repeated_types for (self: APropdef, ModelBuilder) */ +/* method modelize_property$APropdef$check_repeated_types for (self: APropdef, ModelBuilder) */ void nitc__modelize_property___APropdef___check_repeated_types(val* self, val* p0) { val* var_modelbuilder /* var modelbuilder: ModelBuilder */; var_modelbuilder = p0; RET_LABEL:; } -/* method modelize_property#ASignature#is_visited= for (self: ASignature, Bool) */ +/* method modelize_property$ASignature$is_visited= for (self: ASignature, Bool) */ void nitc__modelize_property___ASignature___is_visited_61d(val* self, short int p0) { self->attrs[COLOR_nitc__modelize_property__ASignature___is_visited].s = p0; /* _is_visited on */ RET_LABEL:; } -/* method modelize_property#ASignature#param_names for (self: ASignature): Array[String] */ +/* method modelize_property$ASignature$param_names for (self: ASignature): Array[String] */ val* nitc__modelize_property___ASignature___param_names(val* self) { val* var /* : Array[String] */; val* var1 /* : Array[String] */; var1 = self->attrs[COLOR_nitc__modelize_property__ASignature___param_names].val; /* _param_names on */ if (unlikely(var1 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _param_names"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property, 661); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property, 659); fatal_exit(1); } var = var1; RET_LABEL:; return var; } -/* method modelize_property#ASignature#param_types for (self: ASignature): Array[MType] */ +/* method modelize_property$ASignature$param_types for (self: ASignature): Array[MType] */ val* nitc__modelize_property___ASignature___param_types(val* self) { val* var /* : Array[MType] */; val* var1 /* : Array[MType] */; var1 = self->attrs[COLOR_nitc__modelize_property__ASignature___param_types].val; /* _param_types on */ if (unlikely(var1 == NULL)) { +if(catchStack.cursor >= 0){ +longjmp(catchStack.envs[catchStack.cursor], 1); +} PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _param_types"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property, 664); +PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property, 662); fatal_exit(1); } var = var1; RET_LABEL:; return var; } -/* method modelize_property#ASignature#vararg_rank for (self: ASignature): Int */ +/* method modelize_property$ASignature$vararg_rank for (self: ASignature): Int */ long nitc__modelize_property___ASignature___vararg_rank(val* self) { long var /* : Int */; long var1 /* : Int */; @@ -8254,12 +9575,12 @@ var = var1; RET_LABEL:; return var; } -/* method modelize_property#ASignature#vararg_rank= for (self: ASignature, Int) */ +/* method modelize_property$ASignature$vararg_rank= for (self: ASignature, Int) */ void nitc__modelize_property___ASignature___vararg_rank_61d(val* self, long p0) { self->attrs[COLOR_nitc__modelize_property__ASignature___vararg_rank].l = p0; /* _vararg_rank on */ RET_LABEL:; } -/* method modelize_property#ASignature#ret_type for (self: ASignature): nullable MType */ +/* method modelize_property$ASignature$ret_type for (self: ASignature): nullable MType */ val* nitc__modelize_property___ASignature___ret_type(val* self) { val* var /* : nullable MType */; val* var1 /* : nullable MType */; @@ -8268,1259 +9589,8 @@ var = var1; RET_LABEL:; return var; } -/* method modelize_property#ASignature#ret_type= for (self: ASignature, nullable MType) */ +/* method modelize_property$ASignature$ret_type= for (self: ASignature, nullable MType) */ void nitc__modelize_property___ASignature___ret_type_61d(val* self, val* p0) { self->attrs[COLOR_nitc__modelize_property__ASignature___ret_type].val = p0; /* _ret_type on */ RET_LABEL:; } -/* method modelize_property#ASignature#visit_signature for (self: ASignature, ModelBuilder, MClassDef): Bool */ -short int nitc__modelize_property___ASignature___visit_signature(val* self, val* p0, val* p1) { -short int var /* : Bool */; -val* var_modelbuilder /* var modelbuilder: ModelBuilder */; -val* var_mclassdef /* var mclassdef: MClassDef */; -val* var1 /* : MModule */; -val* var3 /* : MModule */; -val* var_mmodule /* var mmodule: MModule */; -val* var4 /* : Array[String] */; -val* var6 /* : Array[String] */; -val* var_param_names /* var param_names: Array[String] */; -val* var7 /* : Array[MType] */; -val* var9 /* : Array[MType] */; -val* var_param_types /* var param_types: Array[MType] */; -val* var10 /* : ANodes[AParam] */; -val* var12 /* : ANodes[AParam] */; -val* var_ /* var : ANodes[AParam] */; -val* var13 /* : Iterator[ANode] */; -val* var_14 /* var : Iterator[AParam] */; -short int var15 /* : Bool */; -val* var16 /* : nullable Object */; -val* var_np /* var np: AParam */; -val* var17 /* : TId */; -val* var19 /* : TId */; -val* var20 /* : String */; -val* var21 /* : nullable AType */; -val* var23 /* : nullable AType */; -val* var_ntype /* var ntype: nullable AType */; -short int var24 /* : Bool */; -short int var25 /* : Bool */; -val* var_other /* var other: nullable Object */; -short int var27 /* : Bool */; -short int var28 /* : Bool */; -val* var29 /* : nullable MType */; -val* var_mtype /* var mtype: nullable MType */; -short int var30 /* : Bool */; -short int var31 /* : Bool */; -val* var_other33 /* var other: nullable Object */; -short int var34 /* : Bool */; -short int var36 /* : Bool */; -long var_i /* var i: Int */; -long var37 /* : Int */; -long var39 /* : Int */; -long var40 /* : Int */; -long var42 /* : Int */; -long var43 /* : Int */; -short int var45 /* : Bool */; -int cltype; -int idtype; -const char* var_class_name; -long var46 /* : Int */; -long var_47 /* var : Int */; -short int var48 /* : Bool */; -short int var50 /* : Bool */; -int cltype51; -int idtype52; -const char* var_class_name53; -short int var54 /* : Bool */; -long var56 /* : Int */; -val* var57 /* : nullable TDotdotdot */; -val* var59 /* : nullable TDotdotdot */; -short int var60 /* : Bool */; -short int var61 /* : Bool */; -short int var63 /* : Bool */; -short int var64 /* : Bool */; -long var65 /* : Int */; -long var67 /* : Int */; -long var68 /* : Int */; -long var70 /* : Int */; -short int var71 /* : Bool */; -short int var73 /* : Bool */; -short int var74 /* : Bool */; -val* var75 /* : NativeArray[String] */; -static val* varonce; -static val* varonce76; -val* var77 /* : String */; -char* var78 /* : NativeString */; -val* var79 /* : String */; -static val* varonce80; -val* var81 /* : String */; -char* var82 /* : NativeString */; -val* var83 /* : String */; -long var84 /* : Int */; -long var86 /* : Int */; -val* var87 /* : nullable Object */; -val* var88 /* : String */; -long var89 /* : Int */; -long var91 /* : Int */; -long var92 /* : Int */; -short int var94 /* : Bool */; -int cltype95; -int idtype96; -const char* var_class_name97; -long var98 /* : Int */; -val* var100 /* : nullable AType */; -val* var102 /* : nullable AType */; -val* var_ntype103 /* var ntype: nullable AType */; -short int var104 /* : Bool */; -short int var105 /* : Bool */; -short int var107 /* : Bool */; -short int var108 /* : Bool */; -val* var109 /* : nullable MType */; -val* var111 /* : nullable MType */; -val* var113 /* : nullable MType */; -short int var114 /* : Bool */; -short int var115 /* : Bool */; -short int var117 /* : Bool */; -short int var119 /* : Bool */; -var_modelbuilder = p0; -var_mclassdef = p1; -{ -{ /* Inline model#MClassDef#mmodule (var_mclassdef) on */ -var3 = var_mclassdef->attrs[COLOR_nitc__model__MClassDef___mmodule].val; /* _mmodule on */ -if (unlikely(var3 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mmodule"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 573); -fatal_exit(1); -} -var1 = var3; -RET_LABEL2:(void)0; -} -} -var_mmodule = var1; -{ -{ /* Inline modelize_property#ASignature#param_names (self) on */ -var6 = self->attrs[COLOR_nitc__modelize_property__ASignature___param_names].val; /* _param_names on */ -if (unlikely(var6 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _param_names"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property, 661); -fatal_exit(1); -} -var4 = var6; -RET_LABEL5:(void)0; -} -} -var_param_names = var4; -{ -{ /* Inline modelize_property#ASignature#param_types (self) on */ -var9 = self->attrs[COLOR_nitc__modelize_property__ASignature___param_types].val; /* _param_types on */ -if (unlikely(var9 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _param_types"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property, 664); -fatal_exit(1); -} -var7 = var9; -RET_LABEL8:(void)0; -} -} -var_param_types = var7; -{ -{ /* Inline parser_nodes#ASignature#n_params (self) on */ -var12 = self->attrs[COLOR_nitc__parser_nodes__ASignature___n_params].val; /* _n_params on */ -if (unlikely(var12 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_params"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1679); -fatal_exit(1); -} -var10 = var12; -RET_LABEL11:(void)0; -} -} -var_ = var10; -{ -var13 = nitc___nitc__ANodes___core__abstract_collection__Collection__iterator(var_); -} -var_14 = var13; -for(;;) { -{ -var15 = ((short int(*)(val* self))((((long)var_14&3)?class_info[((long)var_14&3)]:var_14->class)->vft[COLOR_core__abstract_collection__Iterator__is_ok]))(var_14); /* is_ok on */ -} -if (var15){ -} else { -goto BREAK_label; -} -{ -var16 = ((val*(*)(val* self))((((long)var_14&3)?class_info[((long)var_14&3)]:var_14->class)->vft[COLOR_core__abstract_collection__Iterator__item]))(var_14); /* item on */ -} -var_np = var16; -{ -{ /* Inline parser_nodes#AParam#n_id (var_np) on */ -var19 = var_np->attrs[COLOR_nitc__parser_nodes__AParam___n_id].val; /* _n_id on */ -if (unlikely(var19 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1693); -fatal_exit(1); -} -var17 = var19; -RET_LABEL18:(void)0; -} -} -{ -var20 = nitc__lexer_work___Token___text(var17); -} -{ -core___core__Array___core__abstract_collection__SimpleCollection__add(var_param_names, var20); /* Direct call array#Array#add on */ -} -{ -{ /* Inline parser_nodes#AParam#n_type (var_np) on */ -var23 = var_np->attrs[COLOR_nitc__parser_nodes__AParam___n_type].val; /* _n_type on */ -var21 = var23; -RET_LABEL22:(void)0; -} -} -var_ntype = var21; -if (var_ntype == NULL) { -var24 = 0; /* is null */ -} else { -var24 = 1; /* arg is null and recv is not */ -} -if (0) { -{ /* Inline kernel#Object#!= (var_ntype,((val*)NULL)) on */ -var_other = ((val*)NULL); -{ -var27 = ((short int(*)(val* self, val* p0))(var_ntype->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_ntype, var_other); /* == on */ -} -var28 = !var27; -var25 = var28; -goto RET_LABEL26; -RET_LABEL26:(void)0; -} -var24 = var25; -} -if (var24){ -{ -var29 = nitc___nitc__ModelBuilder___resolve_mtype_unchecked(var_modelbuilder, var_mmodule, var_mclassdef, var_ntype, 1); -} -var_mtype = var29; -if (var_mtype == NULL) { -var30 = 1; /* is null */ -} else { -var30 = 0; /* arg is null but recv is not */ -} -if (0) { -{ /* Inline kernel#Object#== (var_mtype,((val*)NULL)) on */ -var_other33 = ((val*)NULL); -{ -{ /* Inline kernel#Object#is_same_instance (var_mtype,var_other33) on */ -var36 = var_mtype == var_other33; -var34 = var36; -goto RET_LABEL35; -RET_LABEL35:(void)0; -} -} -var31 = var34; -goto RET_LABEL32; -RET_LABEL32:(void)0; -} -var30 = var31; -} -if (var30){ -var = 0; -goto RET_LABEL; -} else { -} -var_i = 0l; -{ -{ /* Inline array#AbstractArrayRead#length (var_param_names) on */ -var39 = var_param_names->attrs[COLOR_core__array__AbstractArrayRead___length].l; /* _length on */ -var37 = var39; -RET_LABEL38:(void)0; -} -} -{ -{ /* Inline array#AbstractArrayRead#length (var_param_types) on */ -var42 = var_param_types->attrs[COLOR_core__array__AbstractArrayRead___length].l; /* _length on */ -var40 = var42; -RET_LABEL41:(void)0; -} -} -{ -{ /* Inline kernel#Int#- (var37,var40) on */ -/* Covariant cast for argument 0 (i) isa OTHER */ -/* isa OTHER */ -var45 = 1; /* easy isa OTHER*/ -if (unlikely(!var45)) { -var_class_name = type_core__Int.name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel, 734); -fatal_exit(1); -} -var46 = var37 - var40; -var43 = var46; -goto RET_LABEL44; -RET_LABEL44:(void)0; -} -} -var_47 = var43; -for(;;) { -{ -{ /* Inline kernel#Int#< (var_i,var_47) on */ -/* Covariant cast for argument 0 (i) isa OTHER */ -/* isa OTHER */ -var50 = 1; /* easy isa OTHER*/ -if (unlikely(!var50)) { -var_class_name53 = type_core__Int.name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name53); -PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel, 728); -fatal_exit(1); -} -var54 = var_i < var_47; -var48 = var54; -goto RET_LABEL49; -RET_LABEL49:(void)0; -} -} -if (var48){ -} else { -goto BREAK_label55; -} -{ -core___core__Array___core__abstract_collection__SimpleCollection__add(var_param_types, var_mtype); /* Direct call array#Array#add on */ -} -{ -var56 = core___core__Int___Discrete__successor(var_i, 1l); -} -var_i = var56; -} -BREAK_label55: (void)0; -{ -{ /* Inline parser_nodes#AParam#n_dotdotdot (var_np) on */ -var59 = var_np->attrs[COLOR_nitc__parser_nodes__AParam___n_dotdotdot].val; /* _n_dotdotdot on */ -var57 = var59; -RET_LABEL58:(void)0; -} -} -if (var57 == NULL) { -var60 = 0; /* is null */ -} else { -var60 = 1; /* arg is null and recv is not */ -} -if (0) { -{ /* Inline kernel#Object#!= (var57,((val*)NULL)) on */ -var_other = ((val*)NULL); -{ -var63 = ((short int(*)(val* self, val* p0))(var57->class->vft[COLOR_core__kernel__Object___61d_61d]))(var57, var_other); /* == on */ -} -var64 = !var63; -var61 = var64; -goto RET_LABEL62; -RET_LABEL62:(void)0; -} -var60 = var61; -} -if (var60){ -{ -{ /* Inline modelize_property#ASignature#vararg_rank (self) on */ -var67 = self->attrs[COLOR_nitc__modelize_property__ASignature___vararg_rank].l; /* _vararg_rank on */ -var65 = var67; -RET_LABEL66:(void)0; -} -} -{ -{ /* Inline kernel#Int#unary - (1l) on <1l:Int> */ -var70 = -1l; -var68 = var70; -goto RET_LABEL69; -RET_LABEL69:(void)0; -} -} -{ -{ /* Inline kernel#Int#!= (var65,var68) on */ -var73 = var65 == var68; -var74 = !var73; -var71 = var74; -goto RET_LABEL72; -RET_LABEL72:(void)0; -} -} -if (var71){ -if (unlikely(varonce==NULL)) { -var75 = NEW_core__NativeArray(3l, &type_core__NativeArray__core__String); -if (likely(varonce76!=NULL)) { -var77 = varonce76; -} else { -var78 = "Error: `"; -var79 = core__flat___NativeString___to_s_full(var78, 8l, 8l); -var77 = var79; -varonce76 = var77; -} -((struct instance_core__NativeArray*)var75)->values[0]=var77; -if (likely(varonce80!=NULL)) { -var81 = varonce80; -} else { -var82 = "` is already a vararg"; -var83 = core__flat___NativeString___to_s_full(var82, 21l, 21l); -var81 = var83; -varonce80 = var81; -} -((struct instance_core__NativeArray*)var75)->values[2]=var81; -} else { -var75 = varonce; -varonce = NULL; -} -{ -{ /* Inline modelize_property#ASignature#vararg_rank (self) on */ -var86 = self->attrs[COLOR_nitc__modelize_property__ASignature___vararg_rank].l; /* _vararg_rank on */ -var84 = var86; -RET_LABEL85:(void)0; -} -} -{ -var87 = core___core__Array___core__abstract_collection__SequenceRead___91d_93d(var_param_names, var84); -} -((struct instance_core__NativeArray*)var75)->values[1]=var87; -{ -var88 = ((val*(*)(val* self))(var75->class->vft[COLOR_core__abstract_text__NativeArray__native_to_s]))(var75); /* native_to_s on */ -} -varonce = var75; -{ -nitc___nitc__ModelBuilder___error(var_modelbuilder, var_np, var88); /* Direct call modelbuilder_base#ModelBuilder#error on */ -} -var = 0; -goto RET_LABEL; -} else { -{ -{ /* Inline array#AbstractArrayRead#length (var_param_names) on */ -var91 = var_param_names->attrs[COLOR_core__array__AbstractArrayRead___length].l; /* _length on */ -var89 = var91; -RET_LABEL90:(void)0; -} -} -{ -{ /* Inline kernel#Int#- (var89,1l) on */ -/* Covariant cast for argument 0 (i) <1l:Int> isa OTHER */ -/* <1l:Int> isa OTHER */ -var94 = 1; /* easy <1l:Int> isa OTHER*/ -if (unlikely(!var94)) { -var_class_name97 = type_core__Int.name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name97); -PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel, 734); -fatal_exit(1); -} -var98 = var89 - 1l; -var92 = var98; -goto RET_LABEL93; -RET_LABEL93:(void)0; -} -} -{ -{ /* Inline modelize_property#ASignature#vararg_rank= (self,var92) on */ -self->attrs[COLOR_nitc__modelize_property__ASignature___vararg_rank].l = var92; /* _vararg_rank on */ -RET_LABEL99:(void)0; -} -} -} -} else { -} -} else { -} -{ -((void(*)(val* self))((((long)var_14&3)?class_info[((long)var_14&3)]:var_14->class)->vft[COLOR_core__abstract_collection__Iterator__next]))(var_14); /* next on */ -} -} -BREAK_label: (void)0; -{ -((void(*)(val* self))((((long)var_14&3)?class_info[((long)var_14&3)]:var_14->class)->vft[COLOR_core__abstract_collection__Iterator__finish]))(var_14); /* finish on */ -} -{ -{ /* Inline parser_nodes#ASignature#n_type (self) on */ -var102 = self->attrs[COLOR_nitc__parser_nodes__ASignature___n_type].val; /* _n_type on */ -var100 = var102; -RET_LABEL101:(void)0; -} -} -var_ntype103 = var100; -if (var_ntype103 == NULL) { -var104 = 0; /* is null */ -} else { -var104 = 1; /* arg is null and recv is not */ -} -if (0) { -{ /* Inline kernel#Object#!= (var_ntype103,((val*)NULL)) on */ -var_other = ((val*)NULL); -{ -var107 = ((short int(*)(val* self, val* p0))(var_ntype103->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_ntype103, var_other); /* == on */ -} -var108 = !var107; -var105 = var108; -goto RET_LABEL106; -RET_LABEL106:(void)0; -} -var104 = var105; -} -if (var104){ -{ -var109 = nitc___nitc__ModelBuilder___resolve_mtype_unchecked(var_modelbuilder, var_mmodule, var_mclassdef, var_ntype103, 1); -} -{ -{ /* Inline modelize_property#ASignature#ret_type= (self,var109) on */ -self->attrs[COLOR_nitc__modelize_property__ASignature___ret_type].val = var109; /* _ret_type on */ -RET_LABEL110:(void)0; -} -} -{ -{ /* Inline modelize_property#ASignature#ret_type (self) on */ -var113 = self->attrs[COLOR_nitc__modelize_property__ASignature___ret_type].val; /* _ret_type on */ -var111 = var113; -RET_LABEL112:(void)0; -} -} -if (var111 == NULL) { -var114 = 1; /* is null */ -} else { -var114 = 0; /* arg is null but recv is not */ -} -if (0) { -{ /* Inline kernel#Object#== (var111,((val*)NULL)) on */ -var_other33 = ((val*)NULL); -{ -{ /* Inline kernel#Object#is_same_instance (var111,var_other33) on */ -var119 = var111 == var_other33; -var117 = var119; -goto RET_LABEL118; -RET_LABEL118:(void)0; -} -} -var115 = var117; -goto RET_LABEL116; -RET_LABEL116:(void)0; -} -var114 = var115; -} -if (var114){ -var = 0; -goto RET_LABEL; -} else { -} -} else { -} -{ -{ /* Inline modelize_property#ASignature#is_visited= (self,1) on */ -self->attrs[COLOR_nitc__modelize_property__ASignature___is_visited].s = 1; /* _is_visited on */ -RET_LABEL120:(void)0; -} -} -var = 1; -goto RET_LABEL; -RET_LABEL:; -return var; -} -/* method modelize_property#ASignature#check_signature for (self: ASignature, ModelBuilder, MClassDef): Bool */ -short int nitc__modelize_property___ASignature___check_signature(val* self, val* p0, val* p1) { -short int var /* : Bool */; -val* var_modelbuilder /* var modelbuilder: ModelBuilder */; -val* var_mclassdef /* var mclassdef: MClassDef */; -short int var_res /* var res: Bool */; -val* var1 /* : ANodes[AParam] */; -val* var3 /* : ANodes[AParam] */; -val* var_ /* var : ANodes[AParam] */; -val* var4 /* : Iterator[ANode] */; -val* var_5 /* var : Iterator[AParam] */; -short int var6 /* : Bool */; -val* var7 /* : nullable Object */; -val* var_np /* var np: AParam */; -val* var8 /* : nullable AType */; -val* var10 /* : nullable AType */; -val* var_ntype /* var ntype: nullable AType */; -short int var11 /* : Bool */; -short int var12 /* : Bool */; -val* var_other /* var other: nullable Object */; -short int var14 /* : Bool */; -short int var15 /* : Bool */; -val* var16 /* : MModule */; -val* var18 /* : MModule */; -val* var19 /* : nullable MType */; -short int var20 /* : Bool */; -short int var21 /* : Bool */; -val* var_other23 /* var other: nullable Object */; -short int var24 /* : Bool */; -short int var26 /* : Bool */; -val* var27 /* : nullable AType */; -val* var29 /* : nullable AType */; -val* var_ntype30 /* var ntype: nullable AType */; -short int var31 /* : Bool */; -short int var32 /* : Bool */; -short int var34 /* : Bool */; -short int var35 /* : Bool */; -val* var36 /* : MModule */; -val* var38 /* : MModule */; -val* var39 /* : nullable MType */; -short int var40 /* : Bool */; -short int var41 /* : Bool */; -short int var43 /* : Bool */; -short int var45 /* : Bool */; -short int var46 /* : Bool */; -var_modelbuilder = p0; -var_mclassdef = p1; -var_res = 1; -{ -{ /* Inline parser_nodes#ASignature#n_params (self) on */ -var3 = self->attrs[COLOR_nitc__parser_nodes__ASignature___n_params].val; /* _n_params on */ -if (unlikely(var3 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_params"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1679); -fatal_exit(1); -} -var1 = var3; -RET_LABEL2:(void)0; -} -} -var_ = var1; -{ -var4 = nitc___nitc__ANodes___core__abstract_collection__Collection__iterator(var_); -} -var_5 = var4; -for(;;) { -{ -var6 = ((short int(*)(val* self))((((long)var_5&3)?class_info[((long)var_5&3)]:var_5->class)->vft[COLOR_core__abstract_collection__Iterator__is_ok]))(var_5); /* is_ok on */ -} -if (var6){ -} else { -goto BREAK_label; -} -{ -var7 = ((val*(*)(val* self))((((long)var_5&3)?class_info[((long)var_5&3)]:var_5->class)->vft[COLOR_core__abstract_collection__Iterator__item]))(var_5); /* item on */ -} -var_np = var7; -{ -{ /* Inline parser_nodes#AParam#n_type (var_np) on */ -var10 = var_np->attrs[COLOR_nitc__parser_nodes__AParam___n_type].val; /* _n_type on */ -var8 = var10; -RET_LABEL9:(void)0; -} -} -var_ntype = var8; -if (var_ntype == NULL) { -var11 = 0; /* is null */ -} else { -var11 = 1; /* arg is null and recv is not */ -} -if (0) { -{ /* Inline kernel#Object#!= (var_ntype,((val*)NULL)) on */ -var_other = ((val*)NULL); -{ -var14 = ((short int(*)(val* self, val* p0))(var_ntype->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_ntype, var_other); /* == on */ -} -var15 = !var14; -var12 = var15; -goto RET_LABEL13; -RET_LABEL13:(void)0; -} -var11 = var12; -} -if (var11){ -{ -{ /* Inline model#MClassDef#mmodule (var_mclassdef) on */ -var18 = var_mclassdef->attrs[COLOR_nitc__model__MClassDef___mmodule].val; /* _mmodule on */ -if (unlikely(var18 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mmodule"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 573); -fatal_exit(1); -} -var16 = var18; -RET_LABEL17:(void)0; -} -} -{ -var19 = nitc___nitc__ModelBuilder___resolve_mtype(var_modelbuilder, var16, var_mclassdef, var_ntype); -} -if (var19 == NULL) { -var20 = 1; /* is null */ -} else { -var20 = 0; /* arg is null but recv is not */ -} -if (0) { -{ /* Inline kernel#Object#== (var19,((val*)NULL)) on */ -var_other23 = ((val*)NULL); -{ -{ /* Inline kernel#Object#is_same_instance (var19,var_other23) on */ -var26 = var19 == var_other23; -var24 = var26; -goto RET_LABEL25; -RET_LABEL25:(void)0; -} -} -var21 = var24; -goto RET_LABEL22; -RET_LABEL22:(void)0; -} -var20 = var21; -} -if (var20){ -var_res = 0; -} else { -} -} else { -} -{ -((void(*)(val* self))((((long)var_5&3)?class_info[((long)var_5&3)]:var_5->class)->vft[COLOR_core__abstract_collection__Iterator__next]))(var_5); /* next on */ -} -} -BREAK_label: (void)0; -{ -((void(*)(val* self))((((long)var_5&3)?class_info[((long)var_5&3)]:var_5->class)->vft[COLOR_core__abstract_collection__Iterator__finish]))(var_5); /* finish on */ -} -{ -{ /* Inline parser_nodes#ASignature#n_type (self) on */ -var29 = self->attrs[COLOR_nitc__parser_nodes__ASignature___n_type].val; /* _n_type on */ -var27 = var29; -RET_LABEL28:(void)0; -} -} -var_ntype30 = var27; -if (var_ntype30 == NULL) { -var31 = 0; /* is null */ -} else { -var31 = 1; /* arg is null and recv is not */ -} -if (0) { -{ /* Inline kernel#Object#!= (var_ntype30,((val*)NULL)) on */ -var_other = ((val*)NULL); -{ -var34 = ((short int(*)(val* self, val* p0))(var_ntype30->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_ntype30, var_other); /* == on */ -} -var35 = !var34; -var32 = var35; -goto RET_LABEL33; -RET_LABEL33:(void)0; -} -var31 = var32; -} -if (var31){ -{ -{ /* Inline model#MClassDef#mmodule (var_mclassdef) on */ -var38 = var_mclassdef->attrs[COLOR_nitc__model__MClassDef___mmodule].val; /* _mmodule on */ -if (unlikely(var38 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mmodule"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model, 573); -fatal_exit(1); -} -var36 = var38; -RET_LABEL37:(void)0; -} -} -{ -var39 = nitc___nitc__ModelBuilder___resolve_mtype(var_modelbuilder, var36, var_mclassdef, var_ntype30); -} -if (var39 == NULL) { -var40 = 1; /* is null */ -} else { -var40 = 0; /* arg is null but recv is not */ -} -if (0) { -{ /* Inline kernel#Object#== (var39,((val*)NULL)) on */ -var_other23 = ((val*)NULL); -{ -{ /* Inline kernel#Object#is_same_instance (var39,var_other23) on */ -var45 = var39 == var_other23; -var43 = var45; -goto RET_LABEL44; -RET_LABEL44:(void)0; -} -} -var41 = var43; -goto RET_LABEL42; -RET_LABEL42:(void)0; -} -var40 = var41; -} -if (var40){ -var_res = 0; -} else { -} -} else { -} -var46 = !var_res; -if (var46){ -{ -{ /* Inline modelbuilder_base#ANode#is_broken= (self,1) on */ -self->attrs[COLOR_nitc__modelbuilder_base__ANode___is_broken].s = 1; /* _is_broken on */ -RET_LABEL47:(void)0; -} -} -} else { -} -var = var_res; -goto RET_LABEL; -RET_LABEL:; -return var; -} -/* method modelize_property#AParam#mparameter= for (self: AParam, nullable MParameter) */ -void nitc__modelize_property___AParam___mparameter_61d(val* self, val* p0) { -self->attrs[COLOR_nitc__modelize_property__AParam___mparameter].val = p0; /* _mparameter on */ -RET_LABEL:; -} -/* method modelize_property#AMethPropdef#is_autoinit for (self: AMethPropdef): Bool */ -short int nitc__modelize_property___AMethPropdef___is_autoinit(val* self) { -short int var /* : Bool */; -short int var1 /* : Bool */; -var1 = self->attrs[COLOR_nitc__modelize_property__AMethPropdef___is_autoinit].s; /* _is_autoinit on */ -var = var1; -RET_LABEL:; -return var; -} -/* method modelize_property#AMethPropdef#is_autoinit= for (self: AMethPropdef, Bool) */ -void nitc__modelize_property___AMethPropdef___is_autoinit_61d(val* self, short int p0) { -self->attrs[COLOR_nitc__modelize_property__AMethPropdef___is_autoinit].s = p0; /* _is_autoinit on */ -RET_LABEL:; -} -/* method modelize_property#AMethPropdef#look_like_a_root_init for (self: AMethPropdef, ModelBuilder, MClassDef): Bool */ -short int nitc__modelize_property___AMethPropdef___look_like_a_root_init(val* self, val* p0, val* p1) { -short int var /* : Bool */; -val* var_modelbuilder /* var modelbuilder: ModelBuilder */; -val* var_mclassdef /* var mclassdef: MClassDef */; -val* var1 /* : nullable TKwinit */; -val* var3 /* : nullable TKwinit */; -short int var4 /* : Bool */; -short int var5 /* : Bool */; -val* var_other /* var other: nullable Object */; -short int var7 /* : Bool */; -short int var9 /* : Bool */; -val* var10 /* : nullable AMethid */; -val* var12 /* : nullable AMethid */; -short int var13 /* : Bool */; -short int var14 /* : Bool */; -val* var_other16 /* var other: nullable Object */; -short int var17 /* : Bool */; -short int var18 /* : Bool */; -static val* varonce; -val* var19 /* : String */; -char* var20 /* : NativeString */; -val* var21 /* : String */; -val* var22 /* : nullable AAnnotation */; -short int var23 /* : Bool */; -short int var24 /* : Bool */; -short int var26 /* : Bool */; -short int var27 /* : Bool */; -val* var28 /* : nullable ANode */; -val* var30 /* : nullable ANode */; -val* var31 /* : nullable ANode */; -val* var33 /* : nullable ANode */; -short int var34 /* : Bool */; -int cltype; -int idtype; -const char* var_class_name; -val* var_amod /* var amod: AModule */; -val* var35 /* : nullable AModuledecl */; -val* var37 /* : nullable AModuledecl */; -val* var_amoddecl /* var amoddecl: nullable AModuledecl */; -short int var38 /* : Bool */; -short int var39 /* : Bool */; -short int var41 /* : Bool */; -short int var42 /* : Bool */; -static val* varonce43; -val* var44 /* : String */; -char* var45 /* : NativeString */; -val* var46 /* : String */; -val* var47 /* : nullable AAnnotation */; -val* var_old /* var old: nullable AAnnotation */; -short int var48 /* : Bool */; -short int var49 /* : Bool */; -short int var51 /* : Bool */; -short int var52 /* : Bool */; -val* var53 /* : nullable ASignature */; -val* var55 /* : nullable ASignature */; -val* var56 /* : ANodes[AParam] */; -val* var58 /* : ANodes[AParam] */; -long var59 /* : Int */; -short int var60 /* : Bool */; -short int var62 /* : Bool */; -int cltype63; -int idtype64; -const char* var_class_name65; -short int var66 /* : Bool */; -static val* varonce67; -val* var68 /* : String */; -char* var69 /* : NativeString */; -val* var70 /* : String */; -val* var72 /* : NativeArray[String] */; -static val* varonce71; -static val* varonce73; -val* var74 /* : String */; -char* var75 /* : NativeString */; -val* var76 /* : String */; -val* var77 /* : String */; -val* var78 /* : String */; -val* var79 /* : nullable AVisibility */; -val* var81 /* : nullable AVisibility */; -short int var82 /* : Bool */; -int cltype83; -int idtype84; -short int var85 /* : Bool */; -static val* varonce86; -val* var87 /* : String */; -char* var88 /* : NativeString */; -val* var89 /* : String */; -val* var91 /* : NativeArray[String] */; -static val* varonce90; -static val* varonce92; -val* var93 /* : String */; -char* var94 /* : NativeString */; -val* var95 /* : String */; -val* var96 /* : String */; -val* var97 /* : String */; -var_modelbuilder = p0; -var_mclassdef = p1; -{ -{ /* Inline parser_nodes#AMethPropdef#n_kwinit (self) on */ -var3 = self->attrs[COLOR_nitc__parser_nodes__AMethPropdef___n_kwinit].val; /* _n_kwinit on */ -var1 = var3; -RET_LABEL2:(void)0; -} -} -if (var1 == NULL) { -var4 = 1; /* is null */ -} else { -var4 = 0; /* arg is null but recv is not */ -} -if (0) { -{ /* Inline kernel#Object#== (var1,((val*)NULL)) on */ -var_other = ((val*)NULL); -{ -{ /* Inline kernel#Object#is_same_instance (var1,var_other) on */ -var9 = var1 == var_other; -var7 = var9; -goto RET_LABEL8; -RET_LABEL8:(void)0; -} -} -var5 = var7; -goto RET_LABEL6; -RET_LABEL6:(void)0; -} -var4 = var5; -} -if (var4){ -var = 0; -goto RET_LABEL; -} else { -} -{ -{ /* Inline parser_nodes#AMethPropdef#n_methid (self) on */ -var12 = self->attrs[COLOR_nitc__parser_nodes__AMethPropdef___n_methid].val; /* _n_methid on */ -var10 = var12; -RET_LABEL11:(void)0; -} -} -if (var10 == NULL) { -var13 = 0; /* is null */ -} else { -var13 = 1; /* arg is null and recv is not */ -} -if (0) { -{ /* Inline kernel#Object#!= (var10,((val*)NULL)) on */ -var_other16 = ((val*)NULL); -{ -var17 = ((short int(*)(val* self, val* p0))(var10->class->vft[COLOR_core__kernel__Object___61d_61d]))(var10, var_other16); /* == on */ -} -var18 = !var17; -var14 = var18; -goto RET_LABEL15; -RET_LABEL15:(void)0; -} -var13 = var14; -} -if (var13){ -var = 0; -goto RET_LABEL; -} else { -} -if (likely(varonce!=NULL)) { -var19 = varonce; -} else { -var20 = "old_style_init"; -var21 = core__flat___NativeString___to_s_full(var20, 14l, 14l); -var19 = var21; -varonce = var19; -} -{ -var22 = nitc__annotation___Prod___get_single_annotation(self, var19, var_modelbuilder); -} -if (var22 == NULL) { -var23 = 0; /* is null */ -} else { -var23 = 1; /* arg is null and recv is not */ -} -if (0) { -{ /* Inline kernel#Object#!= (var22,((val*)NULL)) on */ -var_other16 = ((val*)NULL); -{ -var26 = ((short int(*)(val* self, val* p0))(var22->class->vft[COLOR_core__kernel__Object___61d_61d]))(var22, var_other16); /* == on */ -} -var27 = !var26; -var24 = var27; -goto RET_LABEL25; -RET_LABEL25:(void)0; -} -var23 = var24; -} -if (var23){ -var = 0; -goto RET_LABEL; -} else { -} -{ -{ /* Inline parser_nodes#ANode#parent (self) on */ -var30 = self->attrs[COLOR_nitc__parser_nodes__ANode___parent].val; /* _parent on */ -var28 = var30; -RET_LABEL29:(void)0; -} -} -if (var28 == NULL) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property, 751); -fatal_exit(1); -} else { -{ /* Inline parser_nodes#ANode#parent (var28) on */ -if (unlikely(var28 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 46); -fatal_exit(1); -} -var33 = var28->attrs[COLOR_nitc__parser_nodes__ANode___parent].val; /* _parent on */ -var31 = var33; -RET_LABEL32:(void)0; -} -} -/* isa AModule */ -cltype = type_nitc__AModule.color; -idtype = type_nitc__AModule.id; -if(var31 == NULL) { -var34 = 0; -} else { -if(cltype >= var31->type->table_size) { -var34 = 0; -} else { -var34 = var31->type->type_table[cltype] == idtype; -} -} -if (unlikely(!var34)) { -var_class_name = var31 == NULL ? "null" : var31->type->name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "AModule", var_class_name); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property, 751); -fatal_exit(1); -} -var_amod = var31; -{ -{ /* Inline parser_nodes#AModule#n_moduledecl (var_amod) on */ -var37 = var_amod->attrs[COLOR_nitc__parser_nodes__AModule___n_moduledecl].val; /* _n_moduledecl on */ -var35 = var37; -RET_LABEL36:(void)0; -} -} -var_amoddecl = var35; -if (var_amoddecl == NULL) { -var38 = 0; /* is null */ -} else { -var38 = 1; /* arg is null and recv is not */ -} -if (0) { -{ /* Inline kernel#Object#!= (var_amoddecl,((val*)NULL)) on */ -var_other16 = ((val*)NULL); -{ -var41 = ((short int(*)(val* self, val* p0))(var_amoddecl->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_amoddecl, var_other16); /* == on */ -} -var42 = !var41; -var39 = var42; -goto RET_LABEL40; -RET_LABEL40:(void)0; -} -var38 = var39; -} -if (var38){ -if (likely(varonce43!=NULL)) { -var44 = varonce43; -} else { -var45 = "old_style_init"; -var46 = core__flat___NativeString___to_s_full(var45, 14l, 14l); -var44 = var46; -varonce43 = var44; -} -{ -var47 = nitc__annotation___Prod___get_single_annotation(var_amoddecl, var44, var_modelbuilder); -} -var_old = var47; -if (var_old == NULL) { -var48 = 0; /* is null */ -} else { -var48 = 1; /* arg is null and recv is not */ -} -if (0) { -{ /* Inline kernel#Object#!= (var_old,((val*)NULL)) on */ -var_other16 = ((val*)NULL); -{ -var51 = ((short int(*)(val* self, val* p0))(var_old->class->vft[COLOR_core__kernel__Object___61d_61d]))(var_old, var_other16); /* == on */ -} -var52 = !var51; -var49 = var52; -goto RET_LABEL50; -RET_LABEL50:(void)0; -} -var48 = var49; -} -if (var48){ -var = 0; -goto RET_LABEL; -} else { -} -} else { -} -{ -{ /* Inline parser_nodes#AMethPropdef#n_signature (self) on */ -var55 = self->attrs[COLOR_nitc__parser_nodes__AMethPropdef___n_signature].val; /* _n_signature on */ -var53 = var55; -RET_LABEL54:(void)0; -} -} -if (var53 == NULL) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property, 758); -fatal_exit(1); -} else { -{ /* Inline parser_nodes#ASignature#n_params (var53) on */ -if (unlikely(var53 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Receiver is null"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1679); -fatal_exit(1); -} -var58 = var53->attrs[COLOR_nitc__parser_nodes__ASignature___n_params].val; /* _n_params on */ -if (unlikely(var58 == NULL)) { -PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_params"); -PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes, 1679); -fatal_exit(1); -} -var56 = var58; -RET_LABEL57:(void)0; -} -} -{ -var59 = nitc___nitc__ANodes___core__abstract_collection__Collection__length(var56); -} -{ -{ /* Inline kernel#Int#> (var59,0l) on */ -/* Covariant cast for argument 0 (i) <0l:Int> isa OTHER */ -/* <0l:Int> isa OTHER */ -var62 = 1; /* easy <0l:Int> isa OTHER*/ -if (unlikely(!var62)) { -var_class_name65 = type_core__Int.name; -PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name65); -PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel, 730); -fatal_exit(1); -} -var66 = var59 > 0l; -var60 = var66; -goto RET_LABEL61; -RET_LABEL61:(void)0; -} -} -if (var60){ -if (likely(varonce67!=NULL)) { -var68 = varonce67; -} else { -var69 = "old-init"; -var70 = core__flat___NativeString___to_s_full(var69, 8l, 8l); -var68 = var70; -varonce67 = var68; -} -if (unlikely(varonce71==NULL)) { -var72 = NEW_core__NativeArray(2l, &type_core__NativeArray__core__String); -if (likely(varonce73!=NULL)) { -var74 = varonce73; -} else { -var75 = "Warning: init with signature in "; -var76 = core__flat___NativeString___to_s_full(var75, 32l, 32l); -var74 = var76; -varonce73 = var74; -} -((struct instance_core__NativeArray*)var72)->values[0]=var74; -} else { -var72 = varonce71; -varonce71 = NULL; -} -{ -var77 = ((val*(*)(val* self))(var_mclassdef->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_mclassdef); /* to_s on */ -} -((struct instance_core__NativeArray*)var72)->values[1]=var77; -{ -var78 = ((val*(*)(val* self))(var72->class->vft[COLOR_core__abstract_text__NativeArray__native_to_s]))(var72); /* native_to_s on */ -} -varonce71 = var72; -{ -nitc___nitc__ModelBuilder___advice(var_modelbuilder, self, var68, var78); /* Direct call modelbuilder_base#ModelBuilder#advice on */ -} -var = 0; -goto RET_LABEL; -} else { -} -{ -{ /* Inline parser_nodes#ADefinition#n_visibility (self) on */ -var81 = self->attrs[COLOR_nitc__parser_nodes__ADefinition___n_visibility].val; /* _n_visibility on */ -var79 = var81; -RET_LABEL80:(void)0; -} -} -/* isa APublicVisibility */ -cltype83 = type_nitc__APublicVisibility.color; -idtype84 = type_nitc__APublicVisibility.id; -if(var79 == NULL) { -var82 = 0; -} else { -if(cltype83 >= var79->type->table_size) { -var82 = 0; -} else { -var82 = var79->type->type_table[cltype83] == idtype84; -} -} -var85 = !var82; -if (var85){ -if (likely(varonce86!=NULL)) { -var87 = varonce86; -} else { -var88 = "old-init"; -var89 = core__flat___NativeString___to_s_full(var88, 8l, 8l); -var87 = var89; -varonce86 = var87; -} -if (unlikely(varonce90==NULL)) { -var91 = NEW_core__NativeArray(2l, &type_core__NativeArray__core__String); -if (likely(varonce92!=NULL)) { -var93 = varonce92; -} else { -var94 = "Warning: non-public init in "; -var95 = core__flat___NativeString___to_s_full(var94, 28l, 28l); -var93 = var95; -varonce92 = var93; -} -((struct instance_core__NativeArray*)var91)->values[0]=var93; -} else { -var91 = varonce90; -varonce90 = NULL; -} -{ -var96 = ((val*(*)(val* self))(var_mclassdef->class->vft[COLOR_core__abstract_text__Object__to_s]))(var_mclassdef); /* to_s on */ -} -((struct instance_core__NativeArray*)var91)->values[1]=var96; -{ -var97 = ((val*(*)(val* self))(var91->class->vft[COLOR_core__abstract_text__NativeArray__native_to_s]))(var91); /* native_to_s on */ -} -varonce90 = var91; -{ -nitc___nitc__ModelBuilder___advice(var_modelbuilder, self, var87, var97); /* Direct call modelbuilder_base#ModelBuilder#advice on */ -} -var = 0; -goto RET_LABEL; -} else { -} -var = 1; -goto RET_LABEL; -RET_LABEL:; -return var; -}