integer A_firstFree810 integer A_maxIndex150 array C_nextFree281 integer C_firstFree186 integer C_maxIndex459 array C_typeId158 integer wurst_stack_depth929 array wurst_stack109 integer A_firstFree810 = 0 integer A_maxIndex150 = 0 integer C_firstFree186 = 0 integer C_maxIndex459 = 0 integer wurst_stack_depth929 = 0 function initGlobals202() { } function main108() { initGlobals202(); init_Test206("when calling init_Test in varargGenericMethodOverload, line 1"); } function config454() { } function init_Test206(string __wurst_stackPos163) { local integer this127 wurst_stack_109[wurst_stack_depth_929] = __wurst_stackPos_163; wurst_stack_depth_929 = (wurst_stack_depth_929 + 1); this_127 = new_C947("when calling new_C in varargGenericMethodOverload, line 13"); wurst_stack_109[wurst_stack_depth_929] = "when calling new_A in varargGenericMethodOverload, line 13"; wurst_stack_depth_929 = (wurst_stack_depth_929 + 1); wurst_stack_109[wurst_stack_depth_929] = "when calling alloc_A in varargGenericMethodOverload, line 3"; wurst_stack_depth_929 = (wurst_stack_depth_929 + 1); if (A_firstFree_810 == 0) { if (A_maxIndex_150 < 32768) { A_maxIndex_150 = (A_maxIndex_150 + 1); } else { error601("Out of memory: Could not create A.", "when calling error in varargGenericMethodOverload, line 3"); }; } else { A_firstFree_810 = (A_firstFree_810 - 1); }; wurst_stack_depth_929 = ((wurst_stack_depth_929 - 1) - 1); wurst_stack_109[wurst_stack_depth_929] = "when calling foo in varargGenericMethodOverload, line 13"; wurst_stack_depth_929 = (wurst_stack_depth_929 + 1); if (C_typeId_158[this_127] == 0) { if (this_127 == 0) { error601("Nullpointer exception when calling C.foo", "when calling error in varargGenericMethodOverload, line 5"); } else { error601("Called C.foo on invalid object.", "when calling error in varargGenericMethodOverload, line 5"); }; } else { }; wurst_stack_depth_929 = (wurst_stack_depth_929 - 1); this_127 = new_C947("when calling new_C in varargGenericMethodOverload, line 14"); wurst_stack_109[wurst_stack_depth_929] = "when calling foo in varargGenericMethodOverload, line 14"; wurst_stack_depth_929 = (wurst_stack_depth_929 + 1); if (C_typeId_158[this_127] == 0) { if (this_127 == 0) { error601("Nullpointer exception when calling C.foo", "when calling error in varargGenericMethodOverload, line 6"); } else { error601("Called C.foo on invalid object.", "when calling error in varargGenericMethodOverload, line 6"); }; } else { }; testSuccess139(); wurst_stack_depth_929 = ((wurst_stack_depth_929 - 1) - 1); } IS_NATIVE function testSuccess139() { } function new_C947(string __wurst_stackPos704) returns integer { local integer this758 wurst_stack_109[wurst_stack_depth_929] = __wurst_stackPos_704; wurst_stack_depth_929 = (wurst_stack_depth_929 + 1); wurst_stack_109[wurst_stack_depth_929] = "when calling alloc_C in varargGenericMethodOverload, line 4"; wurst_stack_depth_929 = (wurst_stack_depth_929 + 1); if (C_firstFree_186 == 0) { if (C_maxIndex_459 < 32768) { C_maxIndex_459 = (C_maxIndex_459 + 1); this_758 = C_maxIndex_459; C_typeId_158[this_758] = 2; } else { error601("Out of memory: Could not create C.", "when calling error in varargGenericMethodOverload, line 4"); this_758 = 0; }; } else { C_firstFree_186 = (C_firstFree_186 - 1); this_758 = C_nextFree_281[C_firstFree_186]; C_typeId_158[this_758] = 2; }; wurst_stack_depth_929 = ((wurst_stack_depth_929 - 1) - 1); return this_758; } function error601(string msg178, string __wurst_stackPos103) { local integer stacktraceIndex101 local integer stacktraceLimit427 wurst_stack_109[wurst_stack_depth_929] = __wurst_stackPos_103; wurst_stack_depth_929 = (wurst_stack_depth_929 + 1); __wurst_stackPos_103 = ""; stacktraceIndex_101 = wurst_stack_depth_929; stacktraceLimit_427 = 0; loop { stacktraceIndex_101 = (stacktraceIndex_101 - 1); stacktraceLimit_427 = (stacktraceLimit_427 + 1); exitwhen ((stacktraceLimit_427 > 20) or (stacktraceIndex_101 < 0)); __wurst_stackPos_103 = (__wurst_stackPos_103 + (" " + wurst_stack_109[stacktraceIndex_101])); }; $debugPrint298((msg_178 + (" " + __wurst_stackPos_103))); wurst_stack_depth_929 = (wurst_stack_depth_929 - 1); }