array Cell_nextFree490 integer Cell_firstFree120 integer Cell_maxIndex199 array Cell_typeId109 array Cell_elem206 integer wurst_stack_depth138 array wurst_stack384 integer Cell_firstFree120 = 0 integer Cell_maxIndex199 = 0 integer wurst_stack_depth138 = 0 function initGlobals281() { } function main145() { initGlobals281(); init_test208("when calling init_test in implicitConversions2, line 1"); } function config593() { } function init_test208(string __wurst_stackPos765) { local integer c603 local any test_Cell_get_result123 wurst_stack_384[wurst_stack_depth_138] = __wurst_stackPos_765; wurst_stack_depth_138 = (wurst_stack_depth_138 + 1); c_603 = new_Cell191("when calling new_Cell in implicitConversions2, line 16"); wurst_stack_384[wurst_stack_depth_138] = "when calling set in implicitConversions2, line 17"; wurst_stack_depth_138 = (wurst_stack_depth_138 + 1); if (Cell_typeId_109[c_603] == 0) { if (c_603 == 0) { error894("Nullpointer exception when calling Cell.set", "when calling error in implicitConversions2, line 5"); } else { error894("Called Cell.set on invalid object.", "when calling error in implicitConversions2, line 5"); }; } else { }; Cell_elem_206[c_603] = 5; wurst_stack_depth_138 = (wurst_stack_depth_138 - 1); wurst_stack_384[wurst_stack_depth_138] = "when calling get in implicitConversions2, line 18"; wurst_stack_depth_138 = (wurst_stack_depth_138 + 1); if (Cell_typeId_109[c_603] == 0) { if (c_603 == 0) { error894("Nullpointer exception when calling Cell.get", "when calling error in implicitConversions2, line 7"); } else { error894("Called Cell.get on invalid object.", "when calling error in implicitConversions2, line 7"); }; } else { }; test_Cell_get_result_123 = Cell_elem_206[c_603]; wurst_stack_depth_138 = (wurst_stack_depth_138 - 1); wurst_stack_384[wurst_stack_depth_138] = "when calling set in implicitConversions2, line 18"; wurst_stack_depth_138 = (wurst_stack_depth_138 + 1); if (Cell_typeId_109[c_603] == 0) { if (c_603 == 0) { error894("Nullpointer exception when calling Cell.set", "when calling error in implicitConversions2, line 5"); } else { error894("Called Cell.set on invalid object.", "when calling error in implicitConversions2, line 5"); }; } else { }; Cell_elem_206[c_603] = test_Cell_get_result_123; wurst_stack_depth_138 = (wurst_stack_depth_138 - 1); wurst_stack_384[wurst_stack_depth_138] = "when calling get in implicitConversions2, line 19"; wurst_stack_depth_138 = (wurst_stack_depth_138 + 1); if (Cell_typeId_109[c_603] == 0) { if (c_603 == 0) { error894("Nullpointer exception when calling Cell.get", "when calling error in implicitConversions2, line 7"); } else { error894("Called Cell.get on invalid object.", "when calling error in implicitConversions2, line 7"); }; } else { }; test_Cell_get_result_123 = Cell_elem_206[c_603]; wurst_stack_depth_138 = (wurst_stack_depth_138 - 1); if (test_Cell_get_result_123 == 5) { testSuccess350(); } else { }; wurst_stack_depth_138 = (wurst_stack_depth_138 - 1); } IS_NATIVE function testSuccess350() { } function new_Cell191(string __wurst_stackPos100) returns integer { local integer this151 wurst_stack_384[wurst_stack_depth_138] = __wurst_stackPos_100; wurst_stack_depth_138 = (wurst_stack_depth_138 + 1); wurst_stack_384[wurst_stack_depth_138] = "when calling alloc_Cell in implicitConversions2, line 3"; wurst_stack_depth_138 = (wurst_stack_depth_138 + 1); if (Cell_firstFree_120 == 0) { if (Cell_maxIndex_199 < 32768) { Cell_maxIndex_199 = (Cell_maxIndex_199 + 1); this_151 = Cell_maxIndex_199; Cell_typeId_109[this_151] = 1; } else { error894("Out of memory: Could not create Cell.", "when calling error in implicitConversions2, line 3"); this_151 = 0; }; } else { Cell_firstFree_120 = (Cell_firstFree_120 - 1); this_151 = Cell_nextFree_490[Cell_firstFree_120]; Cell_typeId_109[this_151] = 1; }; wurst_stack_depth_138 = ((wurst_stack_depth_138 - 1) - 1); return this_151; } function error894(string msg142, string __wurst_stackPos838) { local integer stacktraceIndex190 local integer stacktraceLimit186 wurst_stack_384[wurst_stack_depth_138] = __wurst_stackPos_838; wurst_stack_depth_138 = (wurst_stack_depth_138 + 1); __wurst_stackPos_838 = ""; stacktraceIndex_190 = wurst_stack_depth_138; stacktraceLimit_186 = 0; loop { stacktraceIndex_190 = (stacktraceIndex_190 - 1); stacktraceLimit_186 = (stacktraceLimit_186 + 1); exitwhen ((stacktraceLimit_186 > 20) or (stacktraceIndex_190 < 0)); __wurst_stackPos_838 = (__wurst_stackPos_838 + (" " + wurst_stack_384[stacktraceIndex_190])); }; $debugPrint138((msg_142 + (" " + __wurst_stackPos_838))); wurst_stack_depth_138 = (wurst_stack_depth_138 - 1); }