array A_nextFree143 integer A_firstFree169 integer A_maxIndex207 array A_someInt200 integer wurst_stack_depth183 array wurst_stack205 integer A_firstFree169 = 0 integer A_maxIndex207 = 0 integer wurst_stack_depth183 = 0 function initGlobals182() { } function main145() { initGlobals182(); wurst_stack_205[wurst_stack_depth_183] = "when calling init_test in inheritField2, line 1"; wurst_stack_depth_183 = (wurst_stack_depth_183 + 1); if (A_someInt_200[new_B461("when calling new_B in inheritField2, line 9")] == 1) { testSuccess971(); } else { }; wurst_stack_depth_183 = (wurst_stack_depth_183 - 1); } function config534() { } IS_NATIVE function testSuccess971() { } function new_B461(string __wurst_stackPos200) returns integer { local integer this207 wurst_stack_205[wurst_stack_depth_183] = __wurst_stackPos_200; wurst_stack_depth_183 = (wurst_stack_depth_183 + 1); wurst_stack_205[wurst_stack_depth_183] = "when calling alloc_B in inheritField2, line 6"; wurst_stack_depth_183 = (wurst_stack_depth_183 + 1); if (A_firstFree_169 == 0) { if (A_maxIndex_207 < 32768) { A_maxIndex_207 = (A_maxIndex_207 + 1); this_207 = A_maxIndex_207; } else { error181("Out of memory: Could not create B.", "when calling error in inheritField2, line 5"); this_207 = 0; }; } else { A_firstFree_169 = (A_firstFree_169 - 1); this_207 = A_nextFree_143[A_firstFree_169]; }; wurst_stack_depth_183 = (wurst_stack_depth_183 - 1); A_someInt_200[this_207] = 1; wurst_stack_depth_183 = (wurst_stack_depth_183 - 1); return this_207; } function error181(string msg461, string __wurst_stackPos790) { local integer stacktraceIndex203 local integer stacktraceLimit139 wurst_stack_205[wurst_stack_depth_183] = __wurst_stackPos_790; wurst_stack_depth_183 = (wurst_stack_depth_183 + 1); __wurst_stackPos_790 = ""; stacktraceIndex_203 = wurst_stack_depth_183; stacktraceLimit_139 = 0; loop { stacktraceIndex_203 = (stacktraceIndex_203 - 1); stacktraceLimit_139 = (stacktraceLimit_139 + 1); exitwhen ((stacktraceLimit_139 > 20) or (stacktraceIndex_203 < 0)); __wurst_stackPos_790 = (__wurst_stackPos_790 + (" " + wurst_stack_205[stacktraceIndex_203])); }; $debugPrint463((msg_461 + (" " + __wurst_stackPos_790))); wurst_stack_depth_183 = (wurst_stack_depth_183 - 1); }