integer Test_x867 array LinkedList_nextFree940 integer LinkedList_firstFree190 integer LinkedList_maxIndex171 array LinkedList_typeId121 array LinkedList_t259 integer wurst_stack_depth213 array wurst_stack558 integer Test_x867 = dispatch_LinkedList_Test_LinkedList_getFirst264(asList_1436(asList_1436(42, "when calling asList in nestedList, line 14"), "when calling asList in nestedList, line 14"), "when calling getFirst in nestedList, line 14") integer LinkedList_firstFree190 = 0 integer LinkedList_maxIndex171 = 0 integer wurst_stack_depth213 = 0 function initGlobals108() { } function main147() { initGlobals108(); init_Test564("when calling init_Test in nestedList, line 1"); } function config441() { } function init_Test564(string __wurst_stackPos202) { local any Test_LinkedList_getFirst_result983 local integer ll132 local integer ll166 wurst_stack_558[wurst_stack_depth_213] = __wurst_stackPos_202; wurst_stack_depth_213 = (wurst_stack_depth_213 + 1); wurst_stack_558[wurst_stack_depth_213] = "when calling asList in nestedList, line 14"; wurst_stack_depth_213 = (wurst_stack_depth_213 + 1); ll_166 = new_LinkedList160("when calling new_LinkedList in nestedList, line 10"); wurst_stack_558[wurst_stack_depth_213] = "when calling add in nestedList, line 12"; wurst_stack_depth_213 = (wurst_stack_depth_213 + 1); if (LinkedList_typeId_121[ll_166] == 0) { if (ll_166 == 0) { error182("Nullpointer exception when calling LinkedList.add", "when calling error in nestedList, line 5"); } else { error182("Called LinkedList.add on invalid object.", "when calling error in nestedList, line 5"); }; } else { }; LinkedList_t_259[ll_166] = 42; wurst_stack_depth_213 = ((wurst_stack_depth_213 - 1) - 1); wurst_stack_558[wurst_stack_depth_213] = "when calling asList in nestedList, line 14"; wurst_stack_depth_213 = (wurst_stack_depth_213 + 1); ll_132 = new_LinkedList160("when calling new_LinkedList in nestedList, line 10"); wurst_stack_558[wurst_stack_depth_213] = "when calling add in nestedList, line 12"; wurst_stack_depth_213 = (wurst_stack_depth_213 + 1); if (LinkedList_typeId_121[ll_132] == 0) { if (ll_132 == 0) { error182("Nullpointer exception when calling LinkedList.add", "when calling error in nestedList, line 5"); } else { error182("Called LinkedList.add on invalid object.", "when calling error in nestedList, line 5"); }; } else { }; LinkedList_t_259[ll_132] = ll_166; wurst_stack_depth_213 = ((wurst_stack_depth_213 - 1) - 1); wurst_stack_558[wurst_stack_depth_213] = "when calling getFirst in nestedList, line 14"; wurst_stack_depth_213 = (wurst_stack_depth_213 + 1); if (LinkedList_typeId_121[ll_132] == 0) { if (ll_132 == 0) { error182("Nullpointer exception when calling LinkedList.getFirst", "when calling error in nestedList, line 7"); } else { error182("Called LinkedList.getFirst on invalid object.", "when calling error in nestedList, line 7"); }; } else { }; Test_LinkedList_getFirst_result_983 = LinkedList_t_259[ll_132]; wurst_stack_depth_213 = (wurst_stack_depth_213 - 1); Test_x_867 = Test_LinkedList_getFirst_result_983; ll_166 = Test_x_867; wurst_stack_558[wurst_stack_depth_213] = "when calling getFirst in nestedList, line 16"; wurst_stack_depth_213 = (wurst_stack_depth_213 + 1); if (LinkedList_typeId_121[ll_166] == 0) { if (ll_166 == 0) { error182("Nullpointer exception when calling LinkedList.getFirst", "when calling error in nestedList, line 7"); } else { error182("Called LinkedList.getFirst on invalid object.", "when calling error in nestedList, line 7"); }; } else { }; Test_LinkedList_getFirst_result_983 = LinkedList_t_259[ll_166]; wurst_stack_depth_213 = (wurst_stack_depth_213 - 1); if (Test_LinkedList_getFirst_result_983 == 42) { testSuccess916(); } else { }; wurst_stack_depth_213 = (wurst_stack_depth_213 - 1); } IS_NATIVE function testSuccess916() { } function new_LinkedList160(string __wurst_stackPos176) returns integer { local integer this412 wurst_stack_558[wurst_stack_depth_213] = __wurst_stackPos_176; wurst_stack_depth_213 = (wurst_stack_depth_213 + 1); wurst_stack_558[wurst_stack_depth_213] = "when calling alloc_LinkedList in nestedList, line 3"; wurst_stack_depth_213 = (wurst_stack_depth_213 + 1); if (LinkedList_firstFree_190 == 0) { if (LinkedList_maxIndex_171 < 32768) { LinkedList_maxIndex_171 = (LinkedList_maxIndex_171 + 1); this_412 = LinkedList_maxIndex_171; LinkedList_typeId_121[this_412] = 1; } else { error182("Out of memory: Could not create LinkedList.", "when calling error in nestedList, line 3"); this_412 = 0; }; } else { LinkedList_firstFree_190 = (LinkedList_firstFree_190 - 1); this_412 = LinkedList_nextFree_940[LinkedList_firstFree_190]; LinkedList_typeId_121[this_412] = 1; }; wurst_stack_depth_213 = ((wurst_stack_depth_213 - 1) - 1); return this_412; } function error182(string msg145, string __wurst_stackPos209) { local integer stacktraceIndex789 local integer stacktraceLimit157 wurst_stack_558[wurst_stack_depth_213] = __wurst_stackPos_209; wurst_stack_depth_213 = (wurst_stack_depth_213 + 1); __wurst_stackPos_209 = ""; stacktraceIndex_789 = wurst_stack_depth_213; stacktraceLimit_157 = 0; loop { stacktraceIndex_789 = (stacktraceIndex_789 - 1); stacktraceLimit_157 = (stacktraceLimit_157 + 1); exitwhen ((stacktraceLimit_157 > 20) or (stacktraceIndex_789 < 0)); __wurst_stackPos_209 = (__wurst_stackPos_209 + (" " + wurst_stack_558[stacktraceIndex_789])); }; $debugPrint150((msg_145 + (" " + __wurst_stackPos_209))); wurst_stack_depth_213 = (wurst_stack_depth_213 - 1); }