integer ToStringClosure_firstFree146 integer ToStringClosure_maxIndex475 array LinkedList_nextFree766 integer LinkedList_firstFree119 integer LinkedList_maxIndex161 integer wurst_stack_depth171 array wurst_stack105 integer ToStringClosure_firstFree146 = 0 integer ToStringClosure_maxIndex475 = 0 integer LinkedList_firstFree119 = 0 integer LinkedList_maxIndex161 = 0 integer wurst_stack_depth171 = 0 function initGlobals176() { } function main143() { initGlobals176(); init_test952("when calling init_test in genericFunctionOverload, line 1"); } function config190() { } function init_test952(string __wurst_stackPos150) { local integer this666 wurst_stack_105[wurst_stack_depth_171] = __wurst_stackPos_150; wurst_stack_depth_171 = (wurst_stack_depth_171 + 1); wurst_stack_105[wurst_stack_depth_171] = "when calling new_LinkedList in genericFunctionOverload, line 18"; wurst_stack_depth_171 = (wurst_stack_depth_171 + 1); wurst_stack_105[wurst_stack_depth_171] = "when calling alloc_LinkedList in genericFunctionOverload, line 3"; wurst_stack_depth_171 = (wurst_stack_depth_171 + 1); if (LinkedList_firstFree_119 == 0) { if (LinkedList_maxIndex_161 < 32768) { LinkedList_maxIndex_161 = (LinkedList_maxIndex_161 + 1); this_666 = LinkedList_maxIndex_161; } else { error929("Out of memory: Could not create LinkedList.", "when calling error in genericFunctionOverload, line 3"); this_666 = 0; }; } else { LinkedList_firstFree_119 = (LinkedList_firstFree_119 - 1); this_666 = LinkedList_nextFree_766[LinkedList_firstFree_119]; }; wurst_stack_depth_171 = ((wurst_stack_depth_171 - 1) - 1); LinkedList_foo169(this_666, "a", "when calling foo in genericFunctionOverload, line 19"); wurst_stack_depth_171 = (wurst_stack_depth_171 - 1); } function LinkedList_foo169(integer this428, string separator188, string __wurst_stackPos274) returns string { wurst_stack_105[wurst_stack_depth_171] = __wurst_stackPos_274; wurst_stack_depth_171 = (wurst_stack_depth_171 + 1); wurst_stack_105[wurst_stack_depth_171] = "when calling alloc_ToStringClosure_foo_test in genericFunctionOverload, line 10"; wurst_stack_depth_171 = (wurst_stack_depth_171 + 1); if (ToStringClosure_firstFree_146 == 0) { if (ToStringClosure_maxIndex_475 < 32768) { ToStringClosure_maxIndex_475 = (ToStringClosure_maxIndex_475 + 1); } else { error929("Out of memory: Could not create ToStringClosure_foo_test.", "when calling error in genericFunctionOverload, line 10"); }; } else { ToStringClosure_firstFree_146 = (ToStringClosure_firstFree_146 - 1); }; wurst_stack_depth_171 = (wurst_stack_depth_171 - 1); wurst_stack_105[wurst_stack_depth_171] = "when calling alloc_ToStringClosure_foo2_test in genericFunctionOverload, line 11"; wurst_stack_depth_171 = (wurst_stack_depth_171 + 1); if (ToStringClosure_firstFree_146 == 0) { if (ToStringClosure_maxIndex_475 < 32768) { ToStringClosure_maxIndex_475 = (ToStringClosure_maxIndex_475 + 1); } else { error929("Out of memory: Could not create ToStringClosure_foo2_test.", "when calling error in genericFunctionOverload, line 11"); }; } else { ToStringClosure_firstFree_146 = (ToStringClosure_firstFree_146 - 1); }; wurst_stack_depth_171 = ((wurst_stack_depth_171 - 1) - 1); return separator_188; } function error929(string msg181, string __wurst_stackPos200) { local integer stacktraceIndex155 local integer stacktraceLimit387 wurst_stack_105[wurst_stack_depth_171] = __wurst_stackPos_200; wurst_stack_depth_171 = (wurst_stack_depth_171 + 1); __wurst_stackPos_200 = ""; stacktraceIndex_155 = wurst_stack_depth_171; stacktraceLimit_387 = 0; loop { stacktraceIndex_155 = (stacktraceIndex_155 - 1); stacktraceLimit_387 = (stacktraceLimit_387 + 1); exitwhen ((stacktraceLimit_387 > 20) or (stacktraceIndex_155 < 0)); __wurst_stackPos_200 = (__wurst_stackPos_200 + (" " + wurst_stack_105[stacktraceIndex_155])); }; $debugPrint154((msg_181 + (" " + __wurst_stackPos_200))); wurst_stack_depth_171 = (wurst_stack_depth_171 - 1); }