array C_nextFree141 integer C_firstFree709 integer C_maxIndex184 array C_typeId510 integer wurst_stack_depth412 array wurst_stack446 integer C_firstFree709 = 0 integer C_maxIndex184 = 0 integer wurst_stack_depth412 = 0 function initGlobals666() { } function main119() { initGlobals666(); init_test257("when calling init_test in extends_override4, line 1"); } function config135() { } function init_test257(string __wurst_stackPos243) { local integer e169 wurst_stack_446[wurst_stack_depth_412] = __wurst_stackPos_243; wurst_stack_depth_412 = (wurst_stack_depth_412 + 1); e_169 = new_E138("when calling new_E in extends_override4, line 13"); wurst_stack_446[wurst_stack_depth_412] = "when calling bla in extends_override4, line 14"; wurst_stack_depth_412 = (wurst_stack_depth_412 + 1); if (C_typeId_510[e_169] == 0) { if (e_169 == 0) { error116("Nullpointer exception when calling D.bla", "when calling error in extends_override4, line 7"); } else { error116("Called D.bla on invalid object.", "when calling error in extends_override4, line 7"); }; } else { }; wurst_stack_446[wurst_stack_depth_412] = "when calling bla in extends_override4, line 7"; wurst_stack_depth_412 = (wurst_stack_depth_412 + 1); e_169 = dispatch_C_test_C_foo381(e_169, "when calling foo in extends_override4, line 8"); wurst_stack_depth_412 = ((wurst_stack_depth_412 - 1) - 1); if (e_169 == 4) { testSuccess705(); } else { }; wurst_stack_depth_412 = (wurst_stack_depth_412 - 1); } IS_NATIVE function testSuccess705() { } function new_E138(string __wurst_stackPos103) returns integer { local integer this544 wurst_stack_446[wurst_stack_depth_412] = __wurst_stackPos_103; wurst_stack_depth_412 = (wurst_stack_depth_412 + 1); wurst_stack_446[wurst_stack_depth_412] = "when calling alloc_E in extends_override4, line 9"; wurst_stack_depth_412 = (wurst_stack_depth_412 + 1); if (C_firstFree_709 == 0) { if (C_maxIndex_184 < 32768) { C_maxIndex_184 = (C_maxIndex_184 + 1); this_544 = C_maxIndex_184; C_typeId_510[this_544] = 3; } else { error116("Out of memory: Could not create E.", "when calling error in extends_override4, line 9"); this_544 = 0; }; } else { C_firstFree_709 = (C_firstFree_709 - 1); this_544 = C_nextFree_141[C_firstFree_709]; C_typeId_510[this_544] = 3; }; wurst_stack_depth_412 = ((wurst_stack_depth_412 - 1) - 1); return this_544; } function error116(string msg587, string __wurst_stackPos921) { local integer stacktraceIndex155 local integer stacktraceLimit677 wurst_stack_446[wurst_stack_depth_412] = __wurst_stackPos_921; wurst_stack_depth_412 = (wurst_stack_depth_412 + 1); __wurst_stackPos_921 = ""; stacktraceIndex_155 = wurst_stack_depth_412; stacktraceLimit_677 = 0; loop { stacktraceIndex_155 = (stacktraceIndex_155 - 1); stacktraceLimit_677 = (stacktraceLimit_677 + 1); exitwhen ((stacktraceLimit_677 > 20) or (stacktraceIndex_155 < 0)); __wurst_stackPos_921 = (__wurst_stackPos_921 + (" " + wurst_stack_446[stacktraceIndex_155])); }; $debugPrint201((msg_587 + (" " + __wurst_stackPos_921))); wurst_stack_depth_412 = (wurst_stack_depth_412 - 1); } function dispatch_C_test_C_foo381(integer this190, string __wurst_stackPos672) returns integer { wurst_stack_446[wurst_stack_depth_412] = __wurst_stackPos_672; wurst_stack_depth_412 = (wurst_stack_depth_412 + 1); if (C_typeId_510[this_190] == 0) { if (this_190 == 0) { error116("Nullpointer exception when calling C.foo", "when calling error in extends_override4, line 4"); } else { error116("Called C.foo on invalid object.", "when calling error in extends_override4, line 4"); }; } else { }; if (C_typeId_510[this_190] <= 2) { this_190 = 3; } else { this_190 = 4; }; wurst_stack_depth_412 = (wurst_stack_depth_412 - 1); return this_190; }