integer Test_x191 array VoidFunction_nextFree171 integer VoidFunction_firstFree204 integer VoidFunction_maxIndex157 array VoidFunction_typeId214 integer wurst_stack_depth222 array wurst_stack933 integer Test_x191 = 0 integer VoidFunction_firstFree204 = 0 integer VoidFunction_maxIndex157 = 0 integer wurst_stack_depth222 = 0 function initGlobals464() { } function main168() { initGlobals464(); wurst_stack_933[wurst_stack_depth_222] = "when calling init_Test in cycle_with_generics, line 1"; wurst_stack_depth_222 = (wurst_stack_depth_222 + 1); bar705(10, "when calling bar in cycle_with_generics, line 16"); if (Test_x_191 == 11) { testSuccess185(); } else { }; wurst_stack_depth_222 = (wurst_stack_depth_222 - 1); } function config525() { } function bar705(integer i126, string __wurst_stackPos156) { local integer this197 wurst_stack_933[wurst_stack_depth_222] = __wurst_stackPos_156; wurst_stack_depth_222 = (wurst_stack_depth_222 + 1); Test_x_191 = (Test_x_191 + 1); wurst_stack_933[wurst_stack_depth_222] = "when calling alloc_VoidFunction_Test in cycle_with_generics, line 12"; wurst_stack_depth_222 = (wurst_stack_depth_222 + 1); if (VoidFunction_firstFree_204 == 0) { if (VoidFunction_maxIndex_157 < 32768) { VoidFunction_maxIndex_157 = (VoidFunction_maxIndex_157 + 1); this_197 = VoidFunction_maxIndex_157; VoidFunction_typeId_214[this_197] = 3; } else { error178("Out of memory: Could not create VoidFunction_Test.", "when calling error in cycle_with_generics, line 12"); this_197 = 0; }; } else { VoidFunction_firstFree_204 = (VoidFunction_firstFree_204 - 1); this_197 = VoidFunction_nextFree_171[VoidFunction_firstFree_204]; VoidFunction_typeId_214[this_197] = 3; }; wurst_stack_depth_222 = (wurst_stack_depth_222 - 1); if (i_126 > 0) { cyc_foo213(1, this_197, null, i_126, "when calling call in cycle_with_generics, line 14"); } else { }; wurst_stack_depth_222 = (wurst_stack_depth_222 - 1); } IS_NATIVE function testSuccess185() { } function error178(string msg156, string __wurst_stackPos166) { local integer stacktraceIndex293 local integer stacktraceLimit738 wurst_stack_933[wurst_stack_depth_222] = __wurst_stackPos_166; wurst_stack_depth_222 = (wurst_stack_depth_222 + 1); __wurst_stackPos_166 = ""; stacktraceIndex_293 = wurst_stack_depth_222; stacktraceLimit_738 = 0; loop { stacktraceIndex_293 = (stacktraceIndex_293 - 1); stacktraceLimit_738 = (stacktraceLimit_738 + 1); exitwhen ((stacktraceLimit_738 > 20) or (stacktraceIndex_293 < 0)); __wurst_stackPos_166 = (__wurst_stackPos_166 + (" " + wurst_stack_933[stacktraceIndex_293])); }; $debugPrint115((msg_156 + (" " + __wurst_stackPos_166))); wurst_stack_depth_222 = (wurst_stack_depth_222 - 1); } function cyc_foo213(integer funcChoice245, integer i695, string __wurst_stackPos247, any t730, string __wurst_stackPos264) { if (funcChoice_245 == 0) { wurst_stack_933[wurst_stack_depth_222] = __wurst_stackPos_247; wurst_stack_depth_222 = (wurst_stack_depth_222 + 1); Test_x_191 = (Test_x_191 + 1); wurst_stack_933[wurst_stack_depth_222] = "when calling alloc_VoidFunction_Test in cycle_with_generics, line 8"; wurst_stack_depth_222 = (wurst_stack_depth_222 + 1); if (VoidFunction_firstFree_204 == 0) { if (VoidFunction_maxIndex_157 < 32768) { VoidFunction_maxIndex_157 = (VoidFunction_maxIndex_157 + 1); funcChoice_245 = VoidFunction_maxIndex_157; VoidFunction_typeId_214[funcChoice_245] = 2; } else { error178("Out of memory: Could not create VoidFunction_Test.", "when calling error in cycle_with_generics, line 8"); funcChoice_245 = 0; }; } else { VoidFunction_firstFree_204 = (VoidFunction_firstFree_204 - 1); funcChoice_245 = VoidFunction_nextFree_171[VoidFunction_firstFree_204]; VoidFunction_typeId_214[funcChoice_245] = 2; }; wurst_stack_depth_222 = (wurst_stack_depth_222 - 1); cyc_foo213(1, funcChoice_245, null, i_695, "when calling call in cycle_with_generics, line 9"); wurst_stack_depth_222 = (wurst_stack_depth_222 - 1); } else { if (funcChoice_245 == 1) { wurst_stack_933[wurst_stack_depth_222] = __wurst_stackPos_264; wurst_stack_depth_222 = (wurst_stack_depth_222 + 1); if (VoidFunction_typeId_214[i_695] == 0) { if (i_695 == 0) { error178("Nullpointer exception when calling VoidFunction.call", "when calling error in cycle_with_generics, line 4"); } else { error178("Called VoidFunction.call on invalid object.", "when calling error in cycle_with_generics, line 4"); }; } else { }; wurst_stack_933[wurst_stack_depth_222] = "when calling call_Test in cycle_with_generics, line 4"; wurst_stack_depth_222 = (wurst_stack_depth_222 + 1); if (VoidFunction_typeId_214[i_695] <= 2) { i_695 = (t_730 - 1); wurst_stack_933[wurst_stack_depth_222] = "when calling bar in cycle_with_generics, line 8"; wurst_stack_depth_222 = (wurst_stack_depth_222 + 1); Test_x_191 = (Test_x_191 + 1); wurst_stack_933[wurst_stack_depth_222] = "when calling alloc_VoidFunction_Test in cycle_with_generics, line 12"; wurst_stack_depth_222 = (wurst_stack_depth_222 + 1); if (VoidFunction_firstFree_204 == 0) { if (VoidFunction_maxIndex_157 < 32768) { VoidFunction_maxIndex_157 = (VoidFunction_maxIndex_157 + 1); funcChoice_245 = VoidFunction_maxIndex_157; VoidFunction_typeId_214[funcChoice_245] = 3; } else { error178("Out of memory: Could not create VoidFunction_Test.", "when calling error in cycle_with_generics, line 12"); funcChoice_245 = 0; }; } else { VoidFunction_firstFree_204 = (VoidFunction_firstFree_204 - 1); funcChoice_245 = VoidFunction_nextFree_171[VoidFunction_firstFree_204]; VoidFunction_typeId_214[funcChoice_245] = 3; }; wurst_stack_depth_222 = (wurst_stack_depth_222 - 1); if (i_695 > 0) { cyc_foo213(1, funcChoice_245, null, i_695, "when calling call in cycle_with_generics, line 14"); } else { }; wurst_stack_depth_222 = ((wurst_stack_depth_222 - 1) - 1); } else { cyc_foo213(0, (t_730 - 1), "when calling foo in cycle_with_generics, line 12", 0, null); wurst_stack_depth_222 = (wurst_stack_depth_222 - 1); }; wurst_stack_depth_222 = (wurst_stack_depth_222 - 1); } else { }; }; }