array A_nextFree678 integer A_firstFree391 integer A_maxIndex115 array A_someInt103 integer wurst_stack_depth288 array wurst_stack185 integer A_firstFree391 = 0 integer A_maxIndex115 = 0 integer wurst_stack_depth288 = 0 function initGlobals509() { } function main238() { initGlobals509(); wurst_stack_185[wurst_stack_depth_288] = "when calling init_test in inheritField2, line 1"; wurst_stack_depth_288 = (wurst_stack_depth_288 + 1); if (A_someInt_103[new_B125("when calling new_B in inheritField2, line 9")] == 1) { testSuccess210(); } else { }; wurst_stack_depth_288 = (wurst_stack_depth_288 - 1); } function config536() { } IS_NATIVE function testSuccess210() { } function new_B125(string __wurst_stackPos127) returns integer { local integer this679 wurst_stack_185[wurst_stack_depth_288] = __wurst_stackPos_127; wurst_stack_depth_288 = (wurst_stack_depth_288 + 1); wurst_stack_185[wurst_stack_depth_288] = "when calling alloc_B in inheritField2, line 6"; wurst_stack_depth_288 = (wurst_stack_depth_288 + 1); if (A_firstFree_391 == 0) { if (A_maxIndex_115 < 32768) { A_maxIndex_115 = (A_maxIndex_115 + 1); this_679 = A_maxIndex_115; } else { error201("Out of memory: Could not create B.", "when calling error in inheritField2, line 5"); this_679 = 0; }; } else { A_firstFree_391 = (A_firstFree_391 - 1); this_679 = A_nextFree_678[A_firstFree_391]; }; wurst_stack_depth_288 = (wurst_stack_depth_288 - 1); A_someInt_103[this_679] = 1; wurst_stack_depth_288 = (wurst_stack_depth_288 - 1); return this_679; } function error201(string msg114, string __wurst_stackPos842) { local integer stacktraceIndex213 local integer stacktraceLimit532 wurst_stack_185[wurst_stack_depth_288] = __wurst_stackPos_842; wurst_stack_depth_288 = (wurst_stack_depth_288 + 1); __wurst_stackPos_842 = ""; stacktraceIndex_213 = wurst_stack_depth_288; stacktraceLimit_532 = 0; loop { stacktraceIndex_213 = (stacktraceIndex_213 - 1); stacktraceLimit_532 = (stacktraceLimit_532 + 1); exitwhen ((stacktraceLimit_532 > 20) or (stacktraceIndex_213 < 0)); __wurst_stackPos_842 = (__wurst_stackPos_842 + (" " + wurst_stack_185[stacktraceIndex_213])); }; $debugPrint393((msg_114 + (" " + __wurst_stackPos_842))); wurst_stack_depth_288 = (wurst_stack_depth_288 - 1); }