array Func_nextFree377 integer Func_firstFree290 integer Func_maxIndex193 array Func_typeId143 integer wurst_stack_depth173 array wurst_stack722 integer Func_firstFree290 = 0 integer Func_maxIndex193 = 0 integer Func2_firstFree736 = 0 integer Func2_maxIndex174 = 0 integer wurst_stack_depth173 = 0 function initGlobals146() { } function main921() { initGlobals146(); init_A156("when calling init_A in overload2, line 1"); } function config130() { } function init_A156(string __wurst_stackPos293) { local integer this524 wurst_stack_722[wurst_stack_depth_173] = __wurst_stackPos_293; wurst_stack_depth_173 = (wurst_stack_depth_173 + 1); wurst_stack_722[wurst_stack_depth_173] = "when calling alloc_Func_bar_A in overload2, line 12"; wurst_stack_depth_173 = (wurst_stack_depth_173 + 1); if (Func_firstFree_290 == 0) { if (Func_maxIndex_193 < 32768) { Func_maxIndex_193 = (Func_maxIndex_193 + 1); this_524 = Func_maxIndex_193; Func_typeId_143[this_524] = 2; } else { error151("Out of memory: Could not create Func_bar_A.", "when calling error in overload2, line 12"); this_524 = 0; }; } else { Func_firstFree_290 = (Func_firstFree_290 - 1); this_524 = Func_nextFree_377[Func_firstFree_290]; Func_typeId_143[this_524] = 2; }; wurst_stack_depth_173 = (wurst_stack_depth_173 - 1); wurst_stack_722[wurst_stack_depth_173] = "when calling bar in overload2, line 12"; wurst_stack_depth_173 = (wurst_stack_depth_173 + 1); wurst_stack_722[wurst_stack_depth_173] = "when calling apply in overload2, line 8"; wurst_stack_depth_173 = (wurst_stack_depth_173 + 1); if (Func_typeId_143[this_524] == 0) { if (this_524 == 0) { error151("Nullpointer exception when calling Func.apply", "when calling error in overload2, line 4"); } else { error151("Called Func.apply on invalid object.", "when calling error in overload2, line 4"); }; } else { }; wurst_stack_depth_173 = ((wurst_stack_depth_173 - 1) - 1); testSuccess943(); wurst_stack_depth_173 = (wurst_stack_depth_173 - 1); } IS_NATIVE function testSuccess943() { } function error151(string msg183, string __wurst_stackPos991) { local integer stacktraceIndex421 local integer stacktraceLimit978 wurst_stack_722[wurst_stack_depth_173] = __wurst_stackPos_991; wurst_stack_depth_173 = (wurst_stack_depth_173 + 1); __wurst_stackPos_991 = ""; stacktraceIndex_421 = wurst_stack_depth_173; stacktraceLimit_978 = 0; loop { stacktraceIndex_421 = (stacktraceIndex_421 - 1); stacktraceLimit_978 = (stacktraceLimit_978 + 1); exitwhen ((stacktraceLimit_978 > 20) or (stacktraceIndex_421 < 0)); __wurst_stackPos_991 = (__wurst_stackPos_991 + (" " + wurst_stack_722[stacktraceIndex_421])); }; $debugPrint140((msg_183 + (" " + __wurst_stackPos_991))); wurst_stack_depth_173 = (wurst_stack_depth_173 - 1); }