integer Test_x124 array LinkedList_nextFree350 integer LinkedList_firstFree224 integer LinkedList_maxIndex114 array LinkedList_typeId146 array LinkedList_t185 integer wurst_stack_depth203 array wurst_stack187 integer Test_x124 = dispatch_LinkedList_Test_LinkedList_getFirst147(asList_1838(asList_1838(42, "when calling asList in nestedList, line 14"), "when calling asList in nestedList, line 14"), "when calling getFirst in nestedList, line 14") integer LinkedList_firstFree224 = 0 integer LinkedList_maxIndex114 = 0 integer wurst_stack_depth203 = 0 function initGlobals151() { } function main177() { initGlobals151(); init_Test155("when calling init_Test in nestedList, line 1"); } function config410() { } function init_Test155(string __wurst_stackPos457) { local any Test_LinkedList_getFirst_result163 local integer ll316 local integer ll526 wurst_stack_187[wurst_stack_depth_203] = __wurst_stackPos_457; wurst_stack_depth_203 = (wurst_stack_depth_203 + 1); wurst_stack_187[wurst_stack_depth_203] = "when calling asList in nestedList, line 14"; wurst_stack_depth_203 = (wurst_stack_depth_203 + 1); ll_526 = new_LinkedList157("when calling new_LinkedList in nestedList, line 10"); wurst_stack_187[wurst_stack_depth_203] = "when calling add in nestedList, line 12"; wurst_stack_depth_203 = (wurst_stack_depth_203 + 1); if (LinkedList_typeId_146[ll_526] == 0) { if (ll_526 == 0) { error634("Nullpointer exception when calling LinkedList.add", "when calling error in nestedList, line 5"); } else { error634("Called LinkedList.add on invalid object.", "when calling error in nestedList, line 5"); }; } else { }; LinkedList_t_185[ll_526] = 42; wurst_stack_depth_203 = ((wurst_stack_depth_203 - 1) - 1); wurst_stack_187[wurst_stack_depth_203] = "when calling asList in nestedList, line 14"; wurst_stack_depth_203 = (wurst_stack_depth_203 + 1); ll_316 = new_LinkedList157("when calling new_LinkedList in nestedList, line 10"); wurst_stack_187[wurst_stack_depth_203] = "when calling add in nestedList, line 12"; wurst_stack_depth_203 = (wurst_stack_depth_203 + 1); if (LinkedList_typeId_146[ll_316] == 0) { if (ll_316 == 0) { error634("Nullpointer exception when calling LinkedList.add", "when calling error in nestedList, line 5"); } else { error634("Called LinkedList.add on invalid object.", "when calling error in nestedList, line 5"); }; } else { }; LinkedList_t_185[ll_316] = ll_526; wurst_stack_depth_203 = ((wurst_stack_depth_203 - 1) - 1); wurst_stack_187[wurst_stack_depth_203] = "when calling getFirst in nestedList, line 14"; wurst_stack_depth_203 = (wurst_stack_depth_203 + 1); if (LinkedList_typeId_146[ll_316] == 0) { if (ll_316 == 0) { error634("Nullpointer exception when calling LinkedList.getFirst", "when calling error in nestedList, line 7"); } else { error634("Called LinkedList.getFirst on invalid object.", "when calling error in nestedList, line 7"); }; } else { }; Test_LinkedList_getFirst_result_163 = LinkedList_t_185[ll_316]; wurst_stack_depth_203 = (wurst_stack_depth_203 - 1); Test_x_124 = Test_LinkedList_getFirst_result_163; ll_526 = Test_x_124; wurst_stack_187[wurst_stack_depth_203] = "when calling getFirst in nestedList, line 16"; wurst_stack_depth_203 = (wurst_stack_depth_203 + 1); if (LinkedList_typeId_146[ll_526] == 0) { if (ll_526 == 0) { error634("Nullpointer exception when calling LinkedList.getFirst", "when calling error in nestedList, line 7"); } else { error634("Called LinkedList.getFirst on invalid object.", "when calling error in nestedList, line 7"); }; } else { }; Test_LinkedList_getFirst_result_163 = LinkedList_t_185[ll_526]; wurst_stack_depth_203 = (wurst_stack_depth_203 - 1); if (Test_LinkedList_getFirst_result_163 == 42) { testSuccess152(); } else { }; wurst_stack_depth_203 = (wurst_stack_depth_203 - 1); } IS_NATIVE function testSuccess152() { } function new_LinkedList157(string __wurst_stackPos105) returns integer { local integer this150 wurst_stack_187[wurst_stack_depth_203] = __wurst_stackPos_105; wurst_stack_depth_203 = (wurst_stack_depth_203 + 1); wurst_stack_187[wurst_stack_depth_203] = "when calling alloc_LinkedList in nestedList, line 3"; wurst_stack_depth_203 = (wurst_stack_depth_203 + 1); if (LinkedList_firstFree_224 == 0) { if (LinkedList_maxIndex_114 < 32768) { LinkedList_maxIndex_114 = (LinkedList_maxIndex_114 + 1); this_150 = LinkedList_maxIndex_114; LinkedList_typeId_146[this_150] = 1; } else { error634("Out of memory: Could not create LinkedList.", "when calling error in nestedList, line 3"); this_150 = 0; }; } else { LinkedList_firstFree_224 = (LinkedList_firstFree_224 - 1); this_150 = LinkedList_nextFree_350[LinkedList_firstFree_224]; LinkedList_typeId_146[this_150] = 1; }; wurst_stack_depth_203 = ((wurst_stack_depth_203 - 1) - 1); return this_150; } function error634(string msg179, string __wurst_stackPos936) { local integer stacktraceIndex154 local integer stacktraceLimit130 wurst_stack_187[wurst_stack_depth_203] = __wurst_stackPos_936; wurst_stack_depth_203 = (wurst_stack_depth_203 + 1); __wurst_stackPos_936 = ""; stacktraceIndex_154 = wurst_stack_depth_203; stacktraceLimit_130 = 0; loop { stacktraceIndex_154 = (stacktraceIndex_154 - 1); stacktraceLimit_130 = (stacktraceLimit_130 + 1); exitwhen ((stacktraceLimit_130 > 20) or (stacktraceIndex_154 < 0)); __wurst_stackPos_936 = (__wurst_stackPos_936 + (" " + wurst_stack_187[stacktraceIndex_154])); }; $debugPrint167((msg_179 + (" " + __wurst_stackPos_936))); wurst_stack_depth_203 = (wurst_stack_depth_203 - 1); }