array SimpleFunc_nextFree997 integer SimpleFunc_firstFree635 integer SimpleFunc_maxIndex218 array SimpleFunc_typeId523 array y126 integer wurst_stack_depth165 array wurst_stack646 integer SimpleFunc_firstFree635 = 0 integer SimpleFunc_maxIndex218 = 0 integer wurst_stack_depth165 = 0 function initGlobals193() { } function main663() { initGlobals193(); init_test159("when calling init_test in closure_begin_end3, line 1"); } function config925() { } function init_test159(string __wurst_stackPos875) { local integer this765 wurst_stack_646[wurst_stack_depth_165] = __wurst_stackPos_875; wurst_stack_depth_165 = (wurst_stack_depth_165 + 1); wurst_stack_646[wurst_stack_depth_165] = "when calling alloc_SimpleFunc_test in closure_begin_end3, line 7"; wurst_stack_depth_165 = (wurst_stack_depth_165 + 1); if (SimpleFunc_firstFree_635 == 0) { if (SimpleFunc_maxIndex_218 < 32768) { SimpleFunc_maxIndex_218 = (SimpleFunc_maxIndex_218 + 1); this_765 = SimpleFunc_maxIndex_218; SimpleFunc_typeId_523[this_765] = 2; } else { error213("Out of memory: Could not create SimpleFunc_test.", "when calling error in closure_begin_end3, line 7"); this_765 = 0; }; } else { SimpleFunc_firstFree_635 = (SimpleFunc_firstFree_635 - 1); this_765 = SimpleFunc_nextFree_997[SimpleFunc_firstFree_635]; SimpleFunc_typeId_523[this_765] = 2; }; wurst_stack_depth_165 = (wurst_stack_depth_165 - 1); y_126[this_765] = 4; wurst_stack_646[wurst_stack_depth_165] = "when calling apply in closure_begin_end3, line 11"; wurst_stack_depth_165 = (wurst_stack_depth_165 + 1); if (SimpleFunc_typeId_523[this_765] == 0) { if (this_765 == 0) { error213("Nullpointer exception when calling SimpleFunc.apply", "when calling error in closure_begin_end3, line 4"); } else { error213("Called SimpleFunc.apply on invalid object.", "when calling error in closure_begin_end3, line 4"); }; } else { }; this_765 = (y_126[this_765] + 3); wurst_stack_depth_165 = (wurst_stack_depth_165 - 1); if (this_765 == 7) { testSuccess140(); } else { }; wurst_stack_depth_165 = (wurst_stack_depth_165 - 1); } IS_NATIVE function testSuccess140() { } function error213(string msg105, string __wurst_stackPos180) { local integer stacktraceIndex194 local integer stacktraceLimit899 wurst_stack_646[wurst_stack_depth_165] = __wurst_stackPos_180; wurst_stack_depth_165 = (wurst_stack_depth_165 + 1); __wurst_stackPos_180 = ""; stacktraceIndex_194 = wurst_stack_depth_165; stacktraceLimit_899 = 0; loop { stacktraceIndex_194 = (stacktraceIndex_194 - 1); stacktraceLimit_899 = (stacktraceLimit_899 + 1); exitwhen ((stacktraceLimit_899 > 20) or (stacktraceIndex_194 < 0)); __wurst_stackPos_180 = (__wurst_stackPos_180 + (" " + wurst_stack_646[stacktraceIndex_194])); }; $debugPrint251((msg_105 + (" " + __wurst_stackPos_180))); wurst_stack_depth_165 = (wurst_stack_depth_165 - 1); }