array SimpleFunc_nextFree948 integer SimpleFunc_firstFree197 integer SimpleFunc_maxIndex262 array SimpleFunc_typeId189 integer wurst_stack_depth503 array wurst_stack108 integer SimpleFunc_firstFree197 = 0 integer SimpleFunc_maxIndex262 = 0 integer wurst_stack_depth503 = 0 function initGlobals179() { } function main793() { initGlobals179(); init_test957("when calling init_test in skipInClosure, line 1"); } function config856() { } function init_test957(string __wurst_stackPos170) { local integer this211 wurst_stack_108[wurst_stack_depth_503] = __wurst_stackPos_170; wurst_stack_depth_503 = (wurst_stack_depth_503 + 1); wurst_stack_108[wurst_stack_depth_503] = "when calling alloc_SimpleFunc_test in skipInClosure, line 7"; wurst_stack_depth_503 = (wurst_stack_depth_503 + 1); if (SimpleFunc_firstFree_197 == 0) { if (SimpleFunc_maxIndex_262 < 32768) { SimpleFunc_maxIndex_262 = (SimpleFunc_maxIndex_262 + 1); this_211 = SimpleFunc_maxIndex_262; SimpleFunc_typeId_189[this_211] = 2; } else { error214("Out of memory: Could not create SimpleFunc_test.", "when calling error in skipInClosure, line 7"); this_211 = 0; }; } else { SimpleFunc_firstFree_197 = (SimpleFunc_firstFree_197 - 1); this_211 = SimpleFunc_nextFree_948[SimpleFunc_firstFree_197]; SimpleFunc_typeId_189[this_211] = 2; }; wurst_stack_depth_503 = (wurst_stack_depth_503 - 1); wurst_stack_108[wurst_stack_depth_503] = "when calling call in skipInClosure, line 8"; wurst_stack_depth_503 = (wurst_stack_depth_503 + 1); if (SimpleFunc_typeId_189[this_211] == 0) { if (this_211 == 0) { error214("Nullpointer exception when calling SimpleFunc.call", "when calling error in skipInClosure, line 4"); } else { error214("Called SimpleFunc.call on invalid object.", "when calling error in skipInClosure, line 4"); }; } else { }; wurst_stack_depth_503 = (wurst_stack_depth_503 - 1); testSuccess831(); wurst_stack_depth_503 = (wurst_stack_depth_503 - 1); } IS_NATIVE function testSuccess831() { } function error214(string msg122, string __wurst_stackPos919) { local integer stacktraceIndex246 local integer stacktraceLimit104 wurst_stack_108[wurst_stack_depth_503] = __wurst_stackPos_919; wurst_stack_depth_503 = (wurst_stack_depth_503 + 1); __wurst_stackPos_919 = ""; stacktraceIndex_246 = wurst_stack_depth_503; stacktraceLimit_104 = 0; loop { stacktraceIndex_246 = (stacktraceIndex_246 - 1); stacktraceLimit_104 = (stacktraceLimit_104 + 1); exitwhen ((stacktraceLimit_104 > 20) or (stacktraceIndex_246 < 0)); __wurst_stackPos_919 = (__wurst_stackPos_919 + (" " + wurst_stack_108[stacktraceIndex_246])); }; $debugPrint110((msg_122 + (" " + __wurst_stackPos_919))); wurst_stack_depth_503 = (wurst_stack_depth_503 - 1); }