array A_nextFree214 integer A_firstFree209 integer A_maxIndex202 array A_someInt147 integer wurst_stack_depth174 array wurst_stack839 integer A_firstFree209 = 0 integer A_maxIndex202 = 0 integer wurst_stack_depth174 = 0 function initGlobals205() { } function main348() { initGlobals205(); wurst_stack_839[wurst_stack_depth_174] = "when calling init_test in inheritField, line 1"; wurst_stack_depth_174 = (wurst_stack_depth_174 + 1); if (A_someInt_147[new_B205("when calling new_B in inheritField, line 9")] == 1) { testSuccess310(); } else { }; wurst_stack_depth_174 = (wurst_stack_depth_174 - 1); } function config134() { } IS_NATIVE function testSuccess310() { } function new_B205(string __wurst_stackPos582) returns integer { local integer this160 wurst_stack_839[wurst_stack_depth_174] = __wurst_stackPos_582; wurst_stack_depth_174 = (wurst_stack_depth_174 + 1); wurst_stack_839[wurst_stack_depth_174] = "when calling alloc_B in inheritField, line 6"; wurst_stack_depth_174 = (wurst_stack_depth_174 + 1); if (A_firstFree_209 == 0) { if (A_maxIndex_202 < 32768) { A_maxIndex_202 = (A_maxIndex_202 + 1); this_160 = A_maxIndex_202; } else { error430("Out of memory: Could not create B.", "when calling error in inheritField, line 5"); this_160 = 0; }; } else { A_firstFree_209 = (A_firstFree_209 - 1); this_160 = A_nextFree_214[A_firstFree_209]; }; wurst_stack_depth_174 = (wurst_stack_depth_174 - 1); A_someInt_147[this_160] = 1; wurst_stack_depth_174 = (wurst_stack_depth_174 - 1); return this_160; } function error430(string msg685, string __wurst_stackPos782) { local integer stacktraceIndex185 local integer stacktraceLimit133 wurst_stack_839[wurst_stack_depth_174] = __wurst_stackPos_782; wurst_stack_depth_174 = (wurst_stack_depth_174 + 1); __wurst_stackPos_782 = ""; stacktraceIndex_185 = wurst_stack_depth_174; stacktraceLimit_133 = 0; loop { stacktraceIndex_185 = (stacktraceIndex_185 - 1); stacktraceLimit_133 = (stacktraceLimit_133 + 1); exitwhen ((stacktraceLimit_133 > 20) or (stacktraceIndex_185 < 0)); __wurst_stackPos_782 = (__wurst_stackPos_782 + (" " + wurst_stack_839[stacktraceIndex_185])); }; $debugPrint163((msg_685 + (" " + __wurst_stackPos_782))); wurst_stack_depth_174 = (wurst_stack_depth_174 - 1); }