array Cell_nextFree561 integer Cell_firstFree589 integer Cell_maxIndex619 array Cell_typeId207 array Cell_elem142 integer wurst_stack_depth190 array wurst_stack144 integer Cell_firstFree589 = 0 integer Cell_maxIndex619 = 0 integer wurst_stack_depth190 = 0 function initGlobals607() { } function main986() { initGlobals607(); init_test721("when calling init_test in implicitConversions, line 1"); } function config467() { } function init_test721(string __wurst_stackPos823) { local integer c188 local any test_Cell_get_result179 wurst_stack_144[wurst_stack_depth_190] = __wurst_stackPos_823; wurst_stack_depth_190 = (wurst_stack_depth_190 + 1); c_188 = new_Cell152("when calling new_Cell in implicitConversions, line 16"); wurst_stack_144[wurst_stack_depth_190] = "when calling set in implicitConversions, line 17"; wurst_stack_depth_190 = (wurst_stack_depth_190 + 1); if (Cell_typeId_207[c_188] == 0) { if (c_188 == 0) { error394("Nullpointer exception when calling Cell.set", "when calling error in implicitConversions, line 5"); } else { error394("Called Cell.set on invalid object.", "when calling error in implicitConversions, line 5"); }; } else { }; Cell_elem_142[c_188] = 5; wurst_stack_depth_190 = (wurst_stack_depth_190 - 1); wurst_stack_144[wurst_stack_depth_190] = "when calling get in implicitConversions, line 18"; wurst_stack_depth_190 = (wurst_stack_depth_190 + 1); if (Cell_typeId_207[c_188] == 0) { if (c_188 == 0) { error394("Nullpointer exception when calling Cell.get", "when calling error in implicitConversions, line 7"); } else { error394("Called Cell.get on invalid object.", "when calling error in implicitConversions, line 7"); }; } else { }; test_Cell_get_result_179 = Cell_elem_142[c_188]; wurst_stack_depth_190 = (wurst_stack_depth_190 - 1); if (test_Cell_get_result_179 == 5) { testSuccess207(); } else { }; wurst_stack_depth_190 = (wurst_stack_depth_190 - 1); } IS_NATIVE function testSuccess207() { } function new_Cell152(string __wurst_stackPos132) returns integer { local integer this150 wurst_stack_144[wurst_stack_depth_190] = __wurst_stackPos_132; wurst_stack_depth_190 = (wurst_stack_depth_190 + 1); wurst_stack_144[wurst_stack_depth_190] = "when calling alloc_Cell in implicitConversions, line 3"; wurst_stack_depth_190 = (wurst_stack_depth_190 + 1); if (Cell_firstFree_589 == 0) { if (Cell_maxIndex_619 < 32768) { Cell_maxIndex_619 = (Cell_maxIndex_619 + 1); this_150 = Cell_maxIndex_619; Cell_typeId_207[this_150] = 1; } else { error394("Out of memory: Could not create Cell.", "when calling error in implicitConversions, line 3"); this_150 = 0; }; } else { Cell_firstFree_589 = (Cell_firstFree_589 - 1); this_150 = Cell_nextFree_561[Cell_firstFree_589]; Cell_typeId_207[this_150] = 1; }; wurst_stack_depth_190 = ((wurst_stack_depth_190 - 1) - 1); return this_150; } function error394(string msg247, string __wurst_stackPos168) { local integer stacktraceIndex146 local integer stacktraceLimit130 wurst_stack_144[wurst_stack_depth_190] = __wurst_stackPos_168; wurst_stack_depth_190 = (wurst_stack_depth_190 + 1); __wurst_stackPos_168 = ""; stacktraceIndex_146 = wurst_stack_depth_190; stacktraceLimit_130 = 0; loop { stacktraceIndex_146 = (stacktraceIndex_146 - 1); stacktraceLimit_130 = (stacktraceLimit_130 + 1); exitwhen ((stacktraceLimit_130 > 20) or (stacktraceIndex_146 < 0)); __wurst_stackPos_168 = (__wurst_stackPos_168 + (" " + wurst_stack_144[stacktraceIndex_146])); }; $debugPrint651((msg_247 + (" " + __wurst_stackPos_168))); wurst_stack_depth_190 = (wurst_stack_depth_190 - 1); }