array SimpleFunc_nextFree130 integer SimpleFunc_firstFree146 integer SimpleFunc_maxIndex196 array SimpleFunc_typeId167 integer wurst_stack_depth175 array wurst_stack376 integer SimpleFunc_firstFree146 = 0 integer SimpleFunc_maxIndex196 = 0 integer wurst_stack_depth175 = 0 function initGlobals617() { } function main153() { initGlobals617(); init_test209("when calling init_test in intliteralClosure, line 1"); } function config121() { } function init_test209(string __wurst_stackPos181) { local integer this582 wurst_stack_376[wurst_stack_depth_175] = __wurst_stackPos_181; wurst_stack_depth_175 = (wurst_stack_depth_175 + 1); wurst_stack_376[wurst_stack_depth_175] = "when calling alloc_SimpleFunc_test in intliteralClosure, line 8"; wurst_stack_depth_175 = (wurst_stack_depth_175 + 1); if (SimpleFunc_firstFree_146 == 0) { if (SimpleFunc_maxIndex_196 < 32768) { SimpleFunc_maxIndex_196 = (SimpleFunc_maxIndex_196 + 1); this_582 = SimpleFunc_maxIndex_196; SimpleFunc_typeId_167[this_582] = 2; } else { error159("Out of memory: Could not create SimpleFunc_test.", "when calling error in intliteralClosure, line 8"); this_582 = 0; }; } else { SimpleFunc_firstFree_146 = (SimpleFunc_firstFree_146 - 1); this_582 = SimpleFunc_nextFree_130[SimpleFunc_firstFree_146]; SimpleFunc_typeId_167[this_582] = 2; }; wurst_stack_depth_175 = (wurst_stack_depth_175 - 1); wurst_stack_376[wurst_stack_depth_175] = "when calling call in intliteralClosure, line 9"; wurst_stack_depth_175 = (wurst_stack_depth_175 + 1); if (SimpleFunc_typeId_167[this_582] == 0) { if (this_582 == 0) { error159("Nullpointer exception when calling SimpleFunc.call", "when calling error in intliteralClosure, line 5"); } else { error159("Called SimpleFunc.call on invalid object.", "when calling error in intliteralClosure, line 5"); }; } else { }; wurst_stack_depth_175 = (wurst_stack_depth_175 - 1); testSuccess145(); wurst_stack_depth_175 = (wurst_stack_depth_175 - 1); } IS_NATIVE function testSuccess145() { } function error159(string msg960, string __wurst_stackPos124) { local integer stacktraceIndex353 local integer stacktraceLimit174 wurst_stack_376[wurst_stack_depth_175] = __wurst_stackPos_124; wurst_stack_depth_175 = (wurst_stack_depth_175 + 1); __wurst_stackPos_124 = ""; stacktraceIndex_353 = wurst_stack_depth_175; stacktraceLimit_174 = 0; loop { stacktraceIndex_353 = (stacktraceIndex_353 - 1); stacktraceLimit_174 = (stacktraceLimit_174 + 1); exitwhen ((stacktraceLimit_174 > 20) or (stacktraceIndex_353 < 0)); __wurst_stackPos_124 = (__wurst_stackPos_124 + (" " + wurst_stack_376[stacktraceIndex_353])); }; $debugPrint107((msg_960 + (" " + __wurst_stackPos_124))); wurst_stack_depth_175 = (wurst_stack_depth_175 - 1); }