array A_nextFree245 integer A_firstFree372 integer A_maxIndex145 array A_someInt200 integer wurst_stack_depth186 array wurst_stack356 integer A_firstFree372 = 0 integer A_maxIndex145 = 0 integer wurst_stack_depth186 = 0 function initGlobals208() { } function main176() { initGlobals208(); wurst_stack_356[wurst_stack_depth_186] = "when calling init_test in inheritField2, line 1"; wurst_stack_depth_186 = (wurst_stack_depth_186 + 1); if (A_someInt_200[new_B288("when calling new_B in inheritField2, line 9")] == 1) { testSuccess184(); } else { }; wurst_stack_depth_186 = (wurst_stack_depth_186 - 1); } function config962() { } IS_NATIVE function testSuccess184() { } function new_B288(string __wurst_stackPos430) returns integer { local integer this184 wurst_stack_356[wurst_stack_depth_186] = __wurst_stackPos_430; wurst_stack_depth_186 = (wurst_stack_depth_186 + 1); wurst_stack_356[wurst_stack_depth_186] = "when calling alloc_B in inheritField2, line 6"; wurst_stack_depth_186 = (wurst_stack_depth_186 + 1); if (A_firstFree_372 == 0) { if (A_maxIndex_145 < 32768) { A_maxIndex_145 = (A_maxIndex_145 + 1); this_184 = A_maxIndex_145; } else { error200("Out of memory: Could not create B.", "when calling error in inheritField2, line 5"); this_184 = 0; }; } else { A_firstFree_372 = (A_firstFree_372 - 1); this_184 = A_nextFree_245[A_firstFree_372]; }; wurst_stack_depth_186 = (wurst_stack_depth_186 - 1); A_someInt_200[this_184] = 1; wurst_stack_depth_186 = (wurst_stack_depth_186 - 1); return this_184; } function error200(string msg102, string __wurst_stackPos172) { local integer stacktraceIndex125 local integer stacktraceLimit734 wurst_stack_356[wurst_stack_depth_186] = __wurst_stackPos_172; wurst_stack_depth_186 = (wurst_stack_depth_186 + 1); __wurst_stackPos_172 = ""; stacktraceIndex_125 = wurst_stack_depth_186; stacktraceLimit_734 = 0; loop { stacktraceIndex_125 = (stacktraceIndex_125 - 1); stacktraceLimit_734 = (stacktraceLimit_734 + 1); exitwhen ((stacktraceLimit_734 > 20) or (stacktraceIndex_125 < 0)); __wurst_stackPos_172 = (__wurst_stackPos_172 + (" " + wurst_stack_356[stacktraceIndex_125])); }; $debugPrint121((msg_102 + (" " + __wurst_stackPos_172))); wurst_stack_depth_186 = (wurst_stack_depth_186 - 1); }