array List_nextFree547 integer List_firstFree164 integer List_maxIndex272 array List_typeId214 integer wurst_stack_depth929 array wurst_stack969 integer List_firstFree164 = 0 integer List_maxIndex272 = 0 integer wurst_stack_depth929 = 0 function initGlobals113() { } function main126() { initGlobals113(); init_Test522("when calling init_Test in implicitConversionFailSimple, line 2"); } function config584() { } function init_Test522(string __wurst_stackPos196) { local integer fxs200 wurst_stack_969[wurst_stack_depth_929] = __wurst_stackPos_196; wurst_stack_depth_929 = (wurst_stack_depth_929 + 1); fxs_200 = new_List165("when calling new_List in implicitConversionFailSimple, line 11"); wurst_stack_969[wurst_stack_depth_929] = "when calling get in implicitConversionFailSimple, line 12"; wurst_stack_depth_929 = (wurst_stack_depth_929 + 1); if (List_typeId_214[fxs_200] == 0) { if (fxs_200 == 0) { error362("Nullpointer exception when calling List.get", "when calling error in implicitConversionFailSimple, line 8"); } else { error362("Called List.get on invalid object.", "when calling error in implicitConversionFailSimple, line 8"); }; } else { }; wurst_stack_depth_929 = ((wurst_stack_depth_929 - 1) - 1); } function new_List165(string __wurst_stackPos952) returns integer { local integer this602 wurst_stack_969[wurst_stack_depth_929] = __wurst_stackPos_952; wurst_stack_depth_929 = (wurst_stack_depth_929 + 1); wurst_stack_969[wurst_stack_depth_929] = "when calling alloc_List in implicitConversionFailSimple, line 7"; wurst_stack_depth_929 = (wurst_stack_depth_929 + 1); if (List_firstFree_164 == 0) { if (List_maxIndex_272 < 32768) { List_maxIndex_272 = (List_maxIndex_272 + 1); this_602 = List_maxIndex_272; List_typeId_214[this_602] = 1; } else { error362("Out of memory: Could not create List.", "when calling error in implicitConversionFailSimple, line 7"); this_602 = 0; }; } else { List_firstFree_164 = (List_firstFree_164 - 1); this_602 = List_nextFree_547[List_firstFree_164]; List_typeId_214[this_602] = 1; }; wurst_stack_depth_929 = ((wurst_stack_depth_929 - 1) - 1); return this_602; } function error362(string msg287, string __wurst_stackPos176) { local integer stacktraceIndex156 local integer stacktraceLimit169 wurst_stack_969[wurst_stack_depth_929] = __wurst_stackPos_176; wurst_stack_depth_929 = (wurst_stack_depth_929 + 1); __wurst_stackPos_176 = ""; stacktraceIndex_156 = wurst_stack_depth_929; stacktraceLimit_169 = 0; loop { stacktraceIndex_156 = (stacktraceIndex_156 - 1); stacktraceLimit_169 = (stacktraceLimit_169 + 1); exitwhen ((stacktraceLimit_169 > 20) or (stacktraceIndex_156 < 0)); __wurst_stackPos_176 = (__wurst_stackPos_176 + (" " + wurst_stack_969[stacktraceIndex_156])); }; $debugPrint167((msg_287 + (" " + __wurst_stackPos_176))); wurst_stack_depth_929 = (wurst_stack_depth_929 - 1); }