array SimpleFunc_nextFree659 integer SimpleFunc_firstFree194 integer SimpleFunc_maxIndex562 array SimpleFunc_typeId130 array y290 integer wurst_stack_depth958 array wurst_stack575 integer SimpleFunc_firstFree194 = 0 integer SimpleFunc_maxIndex562 = 0 integer wurst_stack_depth958 = 0 function initGlobals193() { } function main181() { initGlobals193(); init_test948("when calling init_test in closure_begin_end2, line 1"); } function config144() { } function init_test948(string __wurst_stackPos695) { local integer this109 wurst_stack_575[wurst_stack_depth_958] = __wurst_stackPos_695; wurst_stack_depth_958 = (wurst_stack_depth_958 + 1); wurst_stack_575[wurst_stack_depth_958] = "when calling alloc_SimpleFunc_test in closure_begin_end2, line 7"; wurst_stack_depth_958 = (wurst_stack_depth_958 + 1); if (SimpleFunc_firstFree_194 == 0) { if (SimpleFunc_maxIndex_562 < 32768) { SimpleFunc_maxIndex_562 = (SimpleFunc_maxIndex_562 + 1); this_109 = SimpleFunc_maxIndex_562; SimpleFunc_typeId_130[this_109] = 2; } else { error403("Out of memory: Could not create SimpleFunc_test.", "when calling error in closure_begin_end2, line 7"); this_109 = 0; }; } else { SimpleFunc_firstFree_194 = (SimpleFunc_firstFree_194 - 1); this_109 = SimpleFunc_nextFree_659[SimpleFunc_firstFree_194]; SimpleFunc_typeId_130[this_109] = 2; }; wurst_stack_depth_958 = (wurst_stack_depth_958 - 1); y_290[this_109] = 4; wurst_stack_575[wurst_stack_depth_958] = "when calling apply in closure_begin_end2, line 13"; wurst_stack_depth_958 = (wurst_stack_depth_958 + 1); if (SimpleFunc_typeId_130[this_109] == 0) { if (this_109 == 0) { error403("Nullpointer exception when calling SimpleFunc.apply", "when calling error in closure_begin_end2, line 4"); } else { error403("Called SimpleFunc.apply on invalid object.", "when calling error in closure_begin_end2, line 4"); }; } else { }; this_109 = (y_290[this_109] + 3); wurst_stack_depth_958 = (wurst_stack_depth_958 - 1); if (this_109 == 7) { testSuccess119(); } else { }; wurst_stack_depth_958 = (wurst_stack_depth_958 - 1); } IS_NATIVE function testSuccess119() { } function error403(string msg332, string __wurst_stackPos146) { local integer stacktraceIndex131 local integer stacktraceLimit170 wurst_stack_575[wurst_stack_depth_958] = __wurst_stackPos_146; wurst_stack_depth_958 = (wurst_stack_depth_958 + 1); __wurst_stackPos_146 = ""; stacktraceIndex_131 = wurst_stack_depth_958; stacktraceLimit_170 = 0; loop { stacktraceIndex_131 = (stacktraceIndex_131 - 1); stacktraceLimit_170 = (stacktraceLimit_170 + 1); exitwhen ((stacktraceLimit_170 > 20) or (stacktraceIndex_131 < 0)); __wurst_stackPos_146 = (__wurst_stackPos_146 + (" " + wurst_stack_575[stacktraceIndex_131])); }; $debugPrint911((msg_332 + (" " + __wurst_stackPos_146))); wurst_stack_depth_958 = (wurst_stack_depth_958 - 1); }