array SimpleFunc_nextFree721 integer SimpleFunc_firstFree198 integer SimpleFunc_maxIndex787 array SimpleFunc_typeId358 integer wurst_stack_depth201 array wurst_stack103 integer SimpleFunc_firstFree198 = 0 integer SimpleFunc_maxIndex787 = 0 integer wurst_stack_depth201 = 0 function initGlobals167() { } function main425() { initGlobals167(); init_test160("when calling init_test in intliteralClosure, line 1"); } function config136() { } function init_test160(string __wurst_stackPos184) { local integer this214 wurst_stack_103[wurst_stack_depth_201] = __wurst_stackPos_184; wurst_stack_depth_201 = (wurst_stack_depth_201 + 1); wurst_stack_103[wurst_stack_depth_201] = "when calling alloc_SimpleFunc_test in intliteralClosure, line 8"; wurst_stack_depth_201 = (wurst_stack_depth_201 + 1); if (SimpleFunc_firstFree_198 == 0) { if (SimpleFunc_maxIndex_787 < 32768) { SimpleFunc_maxIndex_787 = (SimpleFunc_maxIndex_787 + 1); this_214 = SimpleFunc_maxIndex_787; SimpleFunc_typeId_358[this_214] = 2; } else { error252("Out of memory: Could not create SimpleFunc_test.", "when calling error in intliteralClosure, line 8"); this_214 = 0; }; } else { SimpleFunc_firstFree_198 = (SimpleFunc_firstFree_198 - 1); this_214 = SimpleFunc_nextFree_721[SimpleFunc_firstFree_198]; SimpleFunc_typeId_358[this_214] = 2; }; wurst_stack_depth_201 = (wurst_stack_depth_201 - 1); wurst_stack_103[wurst_stack_depth_201] = "when calling call in intliteralClosure, line 9"; wurst_stack_depth_201 = (wurst_stack_depth_201 + 1); if (SimpleFunc_typeId_358[this_214] == 0) { if (this_214 == 0) { error252("Nullpointer exception when calling SimpleFunc.call", "when calling error in intliteralClosure, line 5"); } else { error252("Called SimpleFunc.call on invalid object.", "when calling error in intliteralClosure, line 5"); }; } else { }; wurst_stack_depth_201 = (wurst_stack_depth_201 - 1); testSuccess175(); wurst_stack_depth_201 = (wurst_stack_depth_201 - 1); } IS_NATIVE function testSuccess175() { } function error252(string msg134, string __wurst_stackPos372) { local integer stacktraceIndex163 local integer stacktraceLimit146 wurst_stack_103[wurst_stack_depth_201] = __wurst_stackPos_372; wurst_stack_depth_201 = (wurst_stack_depth_201 + 1); __wurst_stackPos_372 = ""; stacktraceIndex_163 = wurst_stack_depth_201; stacktraceLimit_146 = 0; loop { stacktraceIndex_163 = (stacktraceIndex_163 - 1); stacktraceLimit_146 = (stacktraceLimit_146 + 1); exitwhen ((stacktraceLimit_146 > 20) or (stacktraceIndex_163 < 0)); __wurst_stackPos_372 = (__wurst_stackPos_372 + (" " + wurst_stack_103[stacktraceIndex_163])); }; $debugPrint105((msg_134 + (" " + __wurst_stackPos_372))); wurst_stack_depth_201 = (wurst_stack_depth_201 - 1); }