array ABC_nextFree810 integer ABC_firstFree196 integer ABC_maxIndex509 array A_nextFree110 integer A_firstFree226 integer A_maxIndex178 integer wurst_stack_depth242 array wurst_stack178 integer ABC_firstFree196 = 0 integer ABC_maxIndex509 = 0 integer A_firstFree226 = 0 integer A_maxIndex178 = 0 integer B_firstFree187 = 0 integer B_maxIndex914 = 0 integer wurst_stack_depth242 = 0 function initGlobals422() { } function main183() { local integer this394 initGlobals422(); wurst_stack_178[wurst_stack_depth_242] = "when calling init_A in testOverloadingConstructorClosureUse, line 1"; wurst_stack_depth_242 = (wurst_stack_depth_242 + 1); wurst_stack_178[wurst_stack_depth_242] = "when calling alloc_ABC_A in testOverloadingConstructorClosureUse, line 11"; wurst_stack_depth_242 = (wurst_stack_depth_242 + 1); if (ABC_firstFree_196 == 0) { if (ABC_maxIndex_509 < 32768) { ABC_maxIndex_509 = (ABC_maxIndex_509 + 1); this_394 = ABC_maxIndex_509; } else { error215("Out of memory: Could not create ABC_A.", "when calling error in testOverloadingConstructorClosureUse, line 11"); this_394 = 0; }; } else { ABC_firstFree_196 = (ABC_firstFree_196 - 1); this_394 = ABC_nextFree_810[ABC_firstFree_196]; }; wurst_stack_depth_242 = (wurst_stack_depth_242 - 1); new_A163(this_394, "when calling new_A in testOverloadingConstructorClosureUse, line 11"); wurst_stack_depth_242 = (wurst_stack_depth_242 - 1); } function config189() { } IS_NATIVE function testSuccess664() { } function new_A163(integer a744, string __wurst_stackPos152) returns integer { wurst_stack_178[wurst_stack_depth_242] = __wurst_stackPos_152; wurst_stack_depth_242 = (wurst_stack_depth_242 + 1); wurst_stack_178[wurst_stack_depth_242] = "when calling alloc_A in testOverloadingConstructorClosureUse, line 7"; wurst_stack_depth_242 = (wurst_stack_depth_242 + 1); if (A_firstFree_226 == 0) { if (A_maxIndex_178 < 32768) { A_maxIndex_178 = (A_maxIndex_178 + 1); a_744 = A_maxIndex_178; } else { error215("Out of memory: Could not create A.", "when calling error in testOverloadingConstructorClosureUse, line 6"); a_744 = 0; }; } else { A_firstFree_226 = (A_firstFree_226 - 1); a_744 = A_nextFree_110[A_firstFree_226]; }; wurst_stack_depth_242 = (wurst_stack_depth_242 - 1); testSuccess664(); wurst_stack_depth_242 = (wurst_stack_depth_242 - 1); return a_744; } function error215(string msg346, string __wurst_stackPos125) { local integer stacktraceIndex862 local integer stacktraceLimit157 wurst_stack_178[wurst_stack_depth_242] = __wurst_stackPos_125; wurst_stack_depth_242 = (wurst_stack_depth_242 + 1); __wurst_stackPos_125 = ""; stacktraceIndex_862 = wurst_stack_depth_242; stacktraceLimit_157 = 0; loop { stacktraceIndex_862 = (stacktraceIndex_862 - 1); stacktraceLimit_157 = (stacktraceLimit_157 + 1); exitwhen ((stacktraceLimit_157 > 20) or (stacktraceIndex_862 < 0)); __wurst_stackPos_125 = (__wurst_stackPos_125 + (" " + wurst_stack_178[stacktraceIndex_862])); }; $debugPrint776((msg_346 + (" " + __wurst_stackPos_125))); wurst_stack_depth_242 = (wurst_stack_depth_242 - 1); }