array A_nextFree996 integer A_firstFree392 integer A_maxIndex106 array A_typeId129 integer wurst_stack_depth433 array wurst_stack121 integer A_firstFree392 = 0 integer A_maxIndex106 = 0 integer wurst_stack_depth433 = 0 function initGlobals157() { } function main189() { initGlobals157(); init_test725("when calling init_test in testNoOverride, line 1"); } function config324() { } function init_test725(string __wurst_stackPos234) { local integer b193 wurst_stack_121[wurst_stack_depth_433] = __wurst_stackPos_234; wurst_stack_depth_433 = (wurst_stack_depth_433 + 1); b_193 = new_B208("when calling new_B in testNoOverride, line 8"); wurst_stack_121[wurst_stack_depth_433] = "when calling foo in testNoOverride, line 9"; wurst_stack_depth_433 = (wurst_stack_depth_433 + 1); if (A_typeId_129[b_193] == 0) { if (b_193 == 0) { error103("Nullpointer exception when calling A.foo", "when calling error in testNoOverride, line 4"); } else { error103("Called A.foo on invalid object.", "when calling error in testNoOverride, line 4"); }; } else { }; wurst_stack_depth_433 = (wurst_stack_depth_433 - 1); testSuccess192(); wurst_stack_depth_433 = (wurst_stack_depth_433 - 1); } IS_NATIVE function testSuccess192() { } function new_B208(string __wurst_stackPos154) returns integer { local integer this193 wurst_stack_121[wurst_stack_depth_433] = __wurst_stackPos_154; wurst_stack_depth_433 = (wurst_stack_depth_433 + 1); wurst_stack_121[wurst_stack_depth_433] = "when calling alloc_B in testNoOverride, line 6"; wurst_stack_depth_433 = (wurst_stack_depth_433 + 1); if (A_firstFree_392 == 0) { if (A_maxIndex_106 < 32768) { A_maxIndex_106 = (A_maxIndex_106 + 1); this_193 = A_maxIndex_106; A_typeId_129[this_193] = 2; } else { error103("Out of memory: Could not create B.", "when calling error in testNoOverride, line 6"); this_193 = 0; }; } else { A_firstFree_392 = (A_firstFree_392 - 1); this_193 = A_nextFree_996[A_firstFree_392]; A_typeId_129[this_193] = 2; }; wurst_stack_depth_433 = ((wurst_stack_depth_433 - 1) - 1); return this_193; } function error103(string msg342, string __wurst_stackPos161) { local integer stacktraceIndex824 local integer stacktraceLimit199 wurst_stack_121[wurst_stack_depth_433] = __wurst_stackPos_161; wurst_stack_depth_433 = (wurst_stack_depth_433 + 1); __wurst_stackPos_161 = ""; stacktraceIndex_824 = wurst_stack_depth_433; stacktraceLimit_199 = 0; loop { stacktraceIndex_824 = (stacktraceIndex_824 - 1); stacktraceLimit_199 = (stacktraceLimit_199 + 1); exitwhen ((stacktraceLimit_199 > 20) or (stacktraceIndex_824 < 0)); __wurst_stackPos_161 = (__wurst_stackPos_161 + (" " + wurst_stack_121[stacktraceIndex_824])); }; $debugPrint667((msg_342 + (" " + __wurst_stackPos_161))); wurst_stack_depth_433 = (wurst_stack_depth_433 - 1); }