array TFunc_nextFree125 integer TFunc_firstFree120 integer TFunc_maxIndex436 array TFunc_typeId198 integer wurst_stack_depth169 array wurst_stack990 integer TFunc_firstFree120 = 0 integer TFunc_maxIndex436 = 0 integer wurst_stack_depth169 = 0 function initGlobals624() { } function main131() { local integer this736 initGlobals624(); wurst_stack_990[wurst_stack_depth_169] = "when calling init_test in implicitConversions4, line 1"; wurst_stack_depth_169 = (wurst_stack_depth_169 + 1); wurst_stack_990[wurst_stack_depth_169] = "when calling alloc_TFunc_runFunc_test in implicitConversions4, line 14"; wurst_stack_depth_169 = (wurst_stack_depth_169 + 1); if (TFunc_firstFree_120 == 0) { if (TFunc_maxIndex_436 < 32768) { TFunc_maxIndex_436 = (TFunc_maxIndex_436 + 1); this_736 = TFunc_maxIndex_436; TFunc_typeId_198[this_736] = 2; } else { error175("Out of memory: Could not create TFunc_runFunc_test.", "when calling error in implicitConversions4, line 14"); this_736 = 0; }; } else { TFunc_firstFree_120 = (TFunc_firstFree_120 - 1); this_736 = TFunc_nextFree_125[TFunc_firstFree_120]; TFunc_typeId_198[this_736] = 2; }; wurst_stack_depth_169 = (wurst_stack_depth_169 - 1); runFunc116(this_736, "when calling runFunc in implicitConversions4, line 14"); wurst_stack_depth_169 = (wurst_stack_depth_169 - 1); } function config157() { } function runFunc116(integer func182, string __wurst_stackPos134) { wurst_stack_990[wurst_stack_depth_169] = __wurst_stackPos_134; wurst_stack_depth_169 = (wurst_stack_depth_169 + 1); wurst_stack_990[wurst_stack_depth_169] = "when calling run in implicitConversions4, line 11"; wurst_stack_depth_169 = (wurst_stack_depth_169 + 1); if (TFunc_typeId_198[func_182] == 0) { if (func_182 == 0) { error175("Nullpointer exception when calling TFunc.run", "when calling error in implicitConversions4, line 8"); } else { error175("Called TFunc.run on invalid object.", "when calling error in implicitConversions4, line 8"); }; } else { }; testSuccess434(); wurst_stack_depth_169 = ((wurst_stack_depth_169 - 1) - 1); } IS_NATIVE function testSuccess434() { } function error175(string msg106, string __wurst_stackPos220) { local integer stacktraceIndex165 local integer stacktraceLimit526 wurst_stack_990[wurst_stack_depth_169] = __wurst_stackPos_220; wurst_stack_depth_169 = (wurst_stack_depth_169 + 1); __wurst_stackPos_220 = ""; stacktraceIndex_165 = wurst_stack_depth_169; stacktraceLimit_526 = 0; loop { stacktraceIndex_165 = (stacktraceIndex_165 - 1); stacktraceLimit_526 = (stacktraceLimit_526 + 1); exitwhen ((stacktraceLimit_526 > 20) or (stacktraceIndex_165 < 0)); __wurst_stackPos_220 = (__wurst_stackPos_220 + (" " + wurst_stack_990[stacktraceIndex_165])); }; $debugPrint120((msg_106 + (" " + __wurst_stackPos_220))); wurst_stack_depth_169 = (wurst_stack_depth_169 - 1); }