array Cell_nextFree124 integer Cell_firstFree479 integer Cell_maxIndex213 array Cell_typeId102 array Cell_elem211 integer wurst_stack_depth308 array wurst_stack985 integer Cell_firstFree479 = 0 integer Cell_maxIndex213 = 0 integer wurst_stack_depth308 = 0 function initGlobals130() { } function main437() { initGlobals130(); init_test195("when calling init_test in implicitConversions2, line 1"); } function config138() { } function init_test195(string __wurst_stackPos119) { local integer c155 local any test_Cell_get_result429 wurst_stack_985[wurst_stack_depth_308] = __wurst_stackPos_119; wurst_stack_depth_308 = (wurst_stack_depth_308 + 1); c_155 = new_Cell199("when calling new_Cell in implicitConversions2, line 16"); wurst_stack_985[wurst_stack_depth_308] = "when calling set in implicitConversions2, line 17"; wurst_stack_depth_308 = (wurst_stack_depth_308 + 1); if (Cell_typeId_102[c_155] == 0) { if (c_155 == 0) { error167("Nullpointer exception when calling Cell.set", "when calling error in implicitConversions2, line 5"); } else { error167("Called Cell.set on invalid object.", "when calling error in implicitConversions2, line 5"); }; } else { }; Cell_elem_211[c_155] = 5; wurst_stack_depth_308 = (wurst_stack_depth_308 - 1); wurst_stack_985[wurst_stack_depth_308] = "when calling get in implicitConversions2, line 18"; wurst_stack_depth_308 = (wurst_stack_depth_308 + 1); if (Cell_typeId_102[c_155] == 0) { if (c_155 == 0) { error167("Nullpointer exception when calling Cell.get", "when calling error in implicitConversions2, line 7"); } else { error167("Called Cell.get on invalid object.", "when calling error in implicitConversions2, line 7"); }; } else { }; test_Cell_get_result_429 = Cell_elem_211[c_155]; wurst_stack_depth_308 = (wurst_stack_depth_308 - 1); wurst_stack_985[wurst_stack_depth_308] = "when calling set in implicitConversions2, line 18"; wurst_stack_depth_308 = (wurst_stack_depth_308 + 1); if (Cell_typeId_102[c_155] == 0) { if (c_155 == 0) { error167("Nullpointer exception when calling Cell.set", "when calling error in implicitConversions2, line 5"); } else { error167("Called Cell.set on invalid object.", "when calling error in implicitConversions2, line 5"); }; } else { }; Cell_elem_211[c_155] = test_Cell_get_result_429; wurst_stack_depth_308 = (wurst_stack_depth_308 - 1); wurst_stack_985[wurst_stack_depth_308] = "when calling get in implicitConversions2, line 19"; wurst_stack_depth_308 = (wurst_stack_depth_308 + 1); if (Cell_typeId_102[c_155] == 0) { if (c_155 == 0) { error167("Nullpointer exception when calling Cell.get", "when calling error in implicitConversions2, line 7"); } else { error167("Called Cell.get on invalid object.", "when calling error in implicitConversions2, line 7"); }; } else { }; test_Cell_get_result_429 = Cell_elem_211[c_155]; wurst_stack_depth_308 = (wurst_stack_depth_308 - 1); if (test_Cell_get_result_429 == 5) { testSuccess211(); } else { }; wurst_stack_depth_308 = (wurst_stack_depth_308 - 1); } IS_NATIVE function testSuccess211() { } function new_Cell199(string __wurst_stackPos376) returns integer { local integer this164 wurst_stack_985[wurst_stack_depth_308] = __wurst_stackPos_376; wurst_stack_depth_308 = (wurst_stack_depth_308 + 1); wurst_stack_985[wurst_stack_depth_308] = "when calling alloc_Cell in implicitConversions2, line 3"; wurst_stack_depth_308 = (wurst_stack_depth_308 + 1); if (Cell_firstFree_479 == 0) { if (Cell_maxIndex_213 < 32768) { Cell_maxIndex_213 = (Cell_maxIndex_213 + 1); this_164 = Cell_maxIndex_213; Cell_typeId_102[this_164] = 1; } else { error167("Out of memory: Could not create Cell.", "when calling error in implicitConversions2, line 3"); this_164 = 0; }; } else { Cell_firstFree_479 = (Cell_firstFree_479 - 1); this_164 = Cell_nextFree_124[Cell_firstFree_479]; Cell_typeId_102[this_164] = 1; }; wurst_stack_depth_308 = ((wurst_stack_depth_308 - 1) - 1); return this_164; } function error167(string msg542, string __wurst_stackPos565) { local integer stacktraceIndex135 local integer stacktraceLimit550 wurst_stack_985[wurst_stack_depth_308] = __wurst_stackPos_565; wurst_stack_depth_308 = (wurst_stack_depth_308 + 1); __wurst_stackPos_565 = ""; stacktraceIndex_135 = wurst_stack_depth_308; stacktraceLimit_550 = 0; loop { stacktraceIndex_135 = (stacktraceIndex_135 - 1); stacktraceLimit_550 = (stacktraceLimit_550 + 1); exitwhen ((stacktraceLimit_550 > 20) or (stacktraceIndex_135 < 0)); __wurst_stackPos_565 = (__wurst_stackPos_565 + (" " + wurst_stack_985[stacktraceIndex_135])); }; $debugPrint144((msg_542 + (" " + __wurst_stackPos_565))); wurst_stack_depth_308 = (wurst_stack_depth_308 - 1); }