array A_nextFree144 integer A_firstFree711 integer A_maxIndex800 array Func_nextFree149 integer Func_firstFree177 integer Func_maxIndex979 array Func_typeId123 array A_f165 integer wurst_stack_depth207 array wurst_stack161 integer A_firstFree711 = 0 integer A_maxIndex800 = 0 integer Func_firstFree177 = 0 integer Func_maxIndex979 = 0 integer wurst_stack_depth207 = 0 function initGlobals213() { } function main969() { initGlobals213(); init_test100("when calling init_test in closureInClassInit, line 1"); } function config111() { } function init_test100(string __wurst_stackPos502) { local integer this483 wurst_stack_161[wurst_stack_depth_207] = __wurst_stackPos_502; wurst_stack_depth_207 = (wurst_stack_depth_207 + 1); this_483 = A_f_165[new_A802("when calling new_A in closureInClassInit, line 10")]; wurst_stack_161[wurst_stack_depth_207] = "when calling apply in closureInClassInit, line 11"; wurst_stack_depth_207 = (wurst_stack_depth_207 + 1); if (Func_typeId_123[this_483] == 0) { if (this_483 == 0) { error215("Nullpointer exception when calling Func.apply", "when calling error in closureInClassInit, line 4"); } else { error215("Called Func.apply on invalid object.", "when calling error in closureInClassInit, line 4"); }; } else { }; wurst_stack_depth_207 = (wurst_stack_depth_207 - 1); testSuccess746(); wurst_stack_depth_207 = (wurst_stack_depth_207 - 1); } IS_NATIVE function testSuccess746() { } function new_A802(string __wurst_stackPos208) returns integer { local integer this202 local integer this424 wurst_stack_161[wurst_stack_depth_207] = __wurst_stackPos_208; wurst_stack_depth_207 = (wurst_stack_depth_207 + 1); wurst_stack_161[wurst_stack_depth_207] = "when calling alloc_A in closureInClassInit, line 7"; wurst_stack_depth_207 = (wurst_stack_depth_207 + 1); if (A_firstFree_711 == 0) { if (A_maxIndex_800 < 32768) { A_maxIndex_800 = (A_maxIndex_800 + 1); this_202 = A_maxIndex_800; } else { error215("Out of memory: Could not create A.", "when calling error in closureInClassInit, line 5"); this_202 = 0; }; } else { A_firstFree_711 = (A_firstFree_711 - 1); this_202 = A_nextFree_144[A_firstFree_711]; }; wurst_stack_depth_207 = (wurst_stack_depth_207 - 1); wurst_stack_161[wurst_stack_depth_207] = "when calling construct_A in closureInClassInit, line 7"; wurst_stack_depth_207 = (wurst_stack_depth_207 + 1); wurst_stack_161[wurst_stack_depth_207] = "when calling A_init in closureInClassInit, line 7"; wurst_stack_depth_207 = (wurst_stack_depth_207 + 1); wurst_stack_161[wurst_stack_depth_207] = "when calling alloc_Func_A_test in closureInClassInit, line 6"; wurst_stack_depth_207 = (wurst_stack_depth_207 + 1); if (Func_firstFree_177 == 0) { if (Func_maxIndex_979 < 32768) { Func_maxIndex_979 = (Func_maxIndex_979 + 1); this_424 = Func_maxIndex_979; Func_typeId_123[this_424] = 3; } else { error215("Out of memory: Could not create Func_A_test.", "when calling error in closureInClassInit, line 6"); this_424 = 0; }; } else { Func_firstFree_177 = (Func_firstFree_177 - 1); this_424 = Func_nextFree_149[Func_firstFree_177]; Func_typeId_123[this_424] = 3; }; wurst_stack_depth_207 = (wurst_stack_depth_207 - 1); A_f_165[this_202] = this_424; wurst_stack_depth_207 = (((wurst_stack_depth_207 - 1) - 1) - 1); return this_202; } function error215(string msg188, string __wurst_stackPos874) { local integer stacktraceIndex345 local integer stacktraceLimit110 wurst_stack_161[wurst_stack_depth_207] = __wurst_stackPos_874; wurst_stack_depth_207 = (wurst_stack_depth_207 + 1); __wurst_stackPos_874 = ""; stacktraceIndex_345 = wurst_stack_depth_207; stacktraceLimit_110 = 0; loop { stacktraceIndex_345 = (stacktraceIndex_345 - 1); stacktraceLimit_110 = (stacktraceLimit_110 + 1); exitwhen ((stacktraceLimit_110 > 20) or (stacktraceIndex_345 < 0)); __wurst_stackPos_874 = (__wurst_stackPos_874 + (" " + wurst_stack_161[stacktraceIndex_345])); }; $debugPrint118((msg_188 + (" " + __wurst_stackPos_874))); wurst_stack_depth_207 = (wurst_stack_depth_207 - 1); }