array TFunc_nextFree192 integer TFunc_firstFree290 integer TFunc_maxIndex192 array TFunc_typeId151 integer wurst_stack_depth328 array wurst_stack213 integer TFunc_firstFree290 = 0 integer TFunc_maxIndex192 = 0 integer wurst_stack_depth328 = 0 function initGlobals695() { } function main105() { local integer this376 initGlobals695(); wurst_stack_213[wurst_stack_depth_328] = "when calling init_test in implicitConversions4, line 1"; wurst_stack_depth_328 = (wurst_stack_depth_328 + 1); wurst_stack_213[wurst_stack_depth_328] = "when calling alloc_TFunc_runFunc_test in implicitConversions4, line 14"; wurst_stack_depth_328 = (wurst_stack_depth_328 + 1); if (TFunc_firstFree_290 == 0) { if (TFunc_maxIndex_192 < 32768) { TFunc_maxIndex_192 = (TFunc_maxIndex_192 + 1); this_376 = TFunc_maxIndex_192; TFunc_typeId_151[this_376] = 2; } else { error101("Out of memory: Could not create TFunc_runFunc_test.", "when calling error in implicitConversions4, line 14"); this_376 = 0; }; } else { TFunc_firstFree_290 = (TFunc_firstFree_290 - 1); this_376 = TFunc_nextFree_192[TFunc_firstFree_290]; TFunc_typeId_151[this_376] = 2; }; wurst_stack_depth_328 = (wurst_stack_depth_328 - 1); runFunc758(this_376, "when calling runFunc in implicitConversions4, line 14"); wurst_stack_depth_328 = (wurst_stack_depth_328 - 1); } function config198() { } function runFunc758(integer func111, string __wurst_stackPos149) { wurst_stack_213[wurst_stack_depth_328] = __wurst_stackPos_149; wurst_stack_depth_328 = (wurst_stack_depth_328 + 1); wurst_stack_213[wurst_stack_depth_328] = "when calling run in implicitConversions4, line 11"; wurst_stack_depth_328 = (wurst_stack_depth_328 + 1); if (TFunc_typeId_151[func_111] == 0) { if (func_111 == 0) { error101("Nullpointer exception when calling TFunc.run", "when calling error in implicitConversions4, line 8"); } else { error101("Called TFunc.run on invalid object.", "when calling error in implicitConversions4, line 8"); }; } else { }; testSuccess782(); wurst_stack_depth_328 = ((wurst_stack_depth_328 - 1) - 1); } IS_NATIVE function testSuccess782() { } function error101(string msg865, string __wurst_stackPos392) { local integer stacktraceIndex210 local integer stacktraceLimit213 wurst_stack_213[wurst_stack_depth_328] = __wurst_stackPos_392; wurst_stack_depth_328 = (wurst_stack_depth_328 + 1); __wurst_stackPos_392 = ""; stacktraceIndex_210 = wurst_stack_depth_328; stacktraceLimit_213 = 0; loop { stacktraceIndex_210 = (stacktraceIndex_210 - 1); stacktraceLimit_213 = (stacktraceLimit_213 + 1); exitwhen ((stacktraceLimit_213 > 20) or (stacktraceIndex_210 < 0)); __wurst_stackPos_392 = (__wurst_stackPos_392 + (" " + wurst_stack_213[stacktraceIndex_210])); }; $debugPrint609((msg_865 + (" " + __wurst_stackPos_392))); wurst_stack_depth_328 = (wurst_stack_depth_328 - 1); }