array A_nextFree165 integer A_firstFree356 integer A_maxIndex613 array A_i169 integer wurst_stack_depth106 array wurst_stack100 integer A_firstFree356 = 0 integer A_maxIndex613 = 0 integer wurst_stack_depth106 = 0 function initGlobals140() { } function main154() { initGlobals140(); init_test125("when calling init_test in testOverloading1_2, line 1"); } function config153() { } function init_test125(string __wurst_stackPos201) { local integer a1941 local integer a2375 wurst_stack_100[wurst_stack_depth_106] = __wurst_stackPos_201; wurst_stack_depth_106 = (wurst_stack_depth_106 + 1); a1_941 = new_A162("when calling new_A in testOverloading1_2, line 9"); a2_375 = new_A162("when calling new_A in testOverloading1_2, line 10"); if ((A_i_169[a1_941] - A_i_169[a2_375]) == 0) { testSuccess177(); } else { }; wurst_stack_depth_106 = (wurst_stack_depth_106 - 1); } IS_NATIVE function testSuccess177() { } function new_A162(string __wurst_stackPos134) returns integer { local integer this471 wurst_stack_100[wurst_stack_depth_106] = __wurst_stackPos_134; wurst_stack_depth_106 = (wurst_stack_depth_106 + 1); wurst_stack_100[wurst_stack_depth_106] = "when calling alloc_A in testOverloading1_2, line 3"; wurst_stack_depth_106 = (wurst_stack_depth_106 + 1); if (A_firstFree_356 == 0) { if (A_maxIndex_613 < 32768) { A_maxIndex_613 = (A_maxIndex_613 + 1); this_471 = A_maxIndex_613; } else { error160("Out of memory: Could not create A.", "when calling error in testOverloading1_2, line 3"); this_471 = 0; }; } else { A_firstFree_356 = (A_firstFree_356 - 1); this_471 = A_nextFree_165[A_firstFree_356]; }; wurst_stack_depth_106 = (wurst_stack_depth_106 - 1); A_i_169[this_471] = 2; wurst_stack_depth_106 = (wurst_stack_depth_106 - 1); return this_471; } function error160(string msg398, string __wurst_stackPos336) { local integer stacktraceIndex158 local integer stacktraceLimit724 wurst_stack_100[wurst_stack_depth_106] = __wurst_stackPos_336; wurst_stack_depth_106 = (wurst_stack_depth_106 + 1); __wurst_stackPos_336 = ""; stacktraceIndex_158 = wurst_stack_depth_106; stacktraceLimit_724 = 0; loop { stacktraceIndex_158 = (stacktraceIndex_158 - 1); stacktraceLimit_724 = (stacktraceLimit_724 + 1); exitwhen ((stacktraceLimit_724 > 20) or (stacktraceIndex_158 < 0)); __wurst_stackPos_336 = (__wurst_stackPos_336 + (" " + wurst_stack_100[stacktraceIndex_158])); }; $debugPrint317((msg_398 + (" " + __wurst_stackPos_336))); wurst_stack_depth_106 = (wurst_stack_depth_106 - 1); }