array FoldClosure_nextFree367 integer FoldClosure_firstFree214 integer FoldClosure_maxIndex189 array FoldClosure_typeId807 array Cell_nextFree148 integer Cell_firstFree763 integer Cell_maxIndex127 array Cell_typeId441 array Cell_elem459 integer wurst_stack_depth506 array wurst_stack176 integer FoldClosure_firstFree214 = 0 integer FoldClosure_maxIndex189 = 0 integer Cell_firstFree763 = 0 integer Cell_maxIndex127 = 0 integer wurst_stack_depth506 = 0 function initGlobals163() { } function main575() { initGlobals163(); init_test197("when calling init_test in implicitConversions3, line 1"); } function config106() { } function init_test197(string __wurst_stackPos355) { local integer c946 local integer this108 wurst_stack_176[wurst_stack_depth_506] = __wurst_stackPos_355; wurst_stack_depth_506 = (wurst_stack_depth_506 + 1); c_946 = new_Cell158("when calling new_Cell in implicitConversions3, line 20"); wurst_stack_176[wurst_stack_depth_506] = "when calling set in implicitConversions3, line 21"; wurst_stack_depth_506 = (wurst_stack_depth_506 + 1); if (Cell_typeId_441[c_946] == 0) { if (c_946 == 0) { error204("Nullpointer exception when calling Cell.set", "when calling error in implicitConversions3, line 7"); } else { error204("Called Cell.set on invalid object.", "when calling error in implicitConversions3, line 7"); }; } else { }; Cell_elem_459[c_946] = 5; wurst_stack_depth_506 = (wurst_stack_depth_506 - 1); wurst_stack_176[wurst_stack_depth_506] = "when calling alloc_FoldClosure_fold_test in implicitConversions3, line 22"; wurst_stack_depth_506 = (wurst_stack_depth_506 + 1); if (FoldClosure_firstFree_214 == 0) { if (FoldClosure_maxIndex_189 < 32768) { FoldClosure_maxIndex_189 = (FoldClosure_maxIndex_189 + 1); this_108 = FoldClosure_maxIndex_189; FoldClosure_typeId_807[this_108] = 3; } else { error204("Out of memory: Could not create FoldClosure_fold_test.", "when calling error in implicitConversions3, line 22"); this_108 = 0; }; } else { FoldClosure_firstFree_214 = (FoldClosure_firstFree_214 - 1); this_108 = FoldClosure_nextFree_367[FoldClosure_firstFree_214]; FoldClosure_typeId_807[this_108] = 3; }; wurst_stack_depth_506 = (wurst_stack_depth_506 - 1); if (dispatch_Cell_test_Cell_fold886(c_946, 2, this_108, "when calling fold in implicitConversions3, line 22") == 7) { testSuccess135(); } else { }; wurst_stack_depth_506 = (wurst_stack_depth_506 - 1); } IS_NATIVE function testSuccess135() { } function new_Cell158(string __wurst_stackPos133) returns integer { local integer this183 wurst_stack_176[wurst_stack_depth_506] = __wurst_stackPos_133; wurst_stack_depth_506 = (wurst_stack_depth_506 + 1); wurst_stack_176[wurst_stack_depth_506] = "when calling alloc_Cell in implicitConversions3, line 5"; wurst_stack_depth_506 = (wurst_stack_depth_506 + 1); if (Cell_firstFree_763 == 0) { if (Cell_maxIndex_127 < 32768) { Cell_maxIndex_127 = (Cell_maxIndex_127 + 1); this_183 = Cell_maxIndex_127; Cell_typeId_441[this_183] = 1; } else { error204("Out of memory: Could not create Cell.", "when calling error in implicitConversions3, line 5"); this_183 = 0; }; } else { Cell_firstFree_763 = (Cell_firstFree_763 - 1); this_183 = Cell_nextFree_148[Cell_firstFree_763]; Cell_typeId_441[this_183] = 1; }; wurst_stack_depth_506 = ((wurst_stack_depth_506 - 1) - 1); return this_183; } function error204(string msg910, string __wurst_stackPos175) { local integer stacktraceIndex141 local integer stacktraceLimit912 wurst_stack_176[wurst_stack_depth_506] = __wurst_stackPos_175; wurst_stack_depth_506 = (wurst_stack_depth_506 + 1); __wurst_stackPos_175 = ""; stacktraceIndex_141 = wurst_stack_depth_506; stacktraceLimit_912 = 0; loop { stacktraceIndex_141 = (stacktraceIndex_141 - 1); stacktraceLimit_912 = (stacktraceLimit_912 + 1); exitwhen ((stacktraceLimit_912 > 20) or (stacktraceIndex_141 < 0)); __wurst_stackPos_175 = (__wurst_stackPos_175 + (" " + wurst_stack_176[stacktraceIndex_141])); }; $debugPrint967((msg_910 + (" " + __wurst_stackPos_175))); wurst_stack_depth_506 = (wurst_stack_depth_506 - 1); } function dispatch_Cell_test_Cell_fold886(integer this777, any start109, integer f111, string __wurst_stackPos192) returns any { local any t176 wurst_stack_176[wurst_stack_depth_506] = __wurst_stackPos_192; wurst_stack_depth_506 = (wurst_stack_depth_506 + 1); if (Cell_typeId_441[this_777] == 0) { if (this_777 == 0) { error204("Nullpointer exception when calling Cell.fold", "when calling error in implicitConversions3, line 11"); } else { error204("Called Cell.fold on invalid object.", "when calling error in implicitConversions3, line 11"); }; } else { }; wurst_stack_176[wurst_stack_depth_506] = "when calling fold in implicitConversions3, line 11"; wurst_stack_depth_506 = (wurst_stack_depth_506 + 1); t_176 = Cell_elem_459[this_777]; wurst_stack_176[wurst_stack_depth_506] = "when calling apply in implicitConversions3, line 12"; wurst_stack_depth_506 = (wurst_stack_depth_506 + 1); if (FoldClosure_typeId_807[f_111] == 0) { if (f_111 == 0) { error204("Nullpointer exception when calling FoldClosure.apply", "when calling error in implicitConversions3, line 4"); } else { error204("Called FoldClosure.apply on invalid object.", "when calling error in implicitConversions3, line 4"); }; } else { }; start_109 = (t_176 + start_109); wurst_stack_depth_506 = (((wurst_stack_depth_506 - 1) - 1) - 1); return start_109; }