array SimpleFunc_nextFree158 integer SimpleFunc_firstFree144 integer SimpleFunc_maxIndex115 array SimpleFunc_typeId136 integer wurst_stack_depth144 array wurst_stack210 integer SimpleFunc_firstFree144 = 0 integer SimpleFunc_maxIndex115 = 0 integer wurst_stack_depth144 = 0 function initGlobals191() { } function main134() { initGlobals191(); init_test189("when calling init_test in skipInClosure, line 1"); } function config965() { } function init_test189(string __wurst_stackPos144) { local integer this305 wurst_stack_210[wurst_stack_depth_144] = __wurst_stackPos_144; wurst_stack_depth_144 = (wurst_stack_depth_144 + 1); wurst_stack_210[wurst_stack_depth_144] = "when calling alloc_SimpleFunc_test in skipInClosure, line 7"; wurst_stack_depth_144 = (wurst_stack_depth_144 + 1); if (SimpleFunc_firstFree_144 == 0) { if (SimpleFunc_maxIndex_115 < 32768) { SimpleFunc_maxIndex_115 = (SimpleFunc_maxIndex_115 + 1); this_305 = SimpleFunc_maxIndex_115; SimpleFunc_typeId_136[this_305] = 2; } else { error228("Out of memory: Could not create SimpleFunc_test.", "when calling error in skipInClosure, line 7"); this_305 = 0; }; } else { SimpleFunc_firstFree_144 = (SimpleFunc_firstFree_144 - 1); this_305 = SimpleFunc_nextFree_158[SimpleFunc_firstFree_144]; SimpleFunc_typeId_136[this_305] = 2; }; wurst_stack_depth_144 = (wurst_stack_depth_144 - 1); wurst_stack_210[wurst_stack_depth_144] = "when calling call in skipInClosure, line 8"; wurst_stack_depth_144 = (wurst_stack_depth_144 + 1); if (SimpleFunc_typeId_136[this_305] == 0) { if (this_305 == 0) { error228("Nullpointer exception when calling SimpleFunc.call", "when calling error in skipInClosure, line 4"); } else { error228("Called SimpleFunc.call on invalid object.", "when calling error in skipInClosure, line 4"); }; } else { }; wurst_stack_depth_144 = (wurst_stack_depth_144 - 1); testSuccess183(); wurst_stack_depth_144 = (wurst_stack_depth_144 - 1); } IS_NATIVE function testSuccess183() { } function error228(string msg200, string __wurst_stackPos156) { local integer stacktraceIndex379 local integer stacktraceLimit703 wurst_stack_210[wurst_stack_depth_144] = __wurst_stackPos_156; wurst_stack_depth_144 = (wurst_stack_depth_144 + 1); __wurst_stackPos_156 = ""; stacktraceIndex_379 = wurst_stack_depth_144; stacktraceLimit_703 = 0; loop { stacktraceIndex_379 = (stacktraceIndex_379 - 1); stacktraceLimit_703 = (stacktraceLimit_703 + 1); exitwhen ((stacktraceLimit_703 > 20) or (stacktraceIndex_379 < 0)); __wurst_stackPos_156 = (__wurst_stackPos_156 + (" " + wurst_stack_210[stacktraceIndex_379])); }; $debugPrint167((msg_200 + (" " + __wurst_stackPos_156))); wurst_stack_depth_144 = (wurst_stack_depth_144 - 1); }