integer Test_x619 array LinkedList_nextFree483 integer LinkedList_firstFree230 integer LinkedList_maxIndex177 array LinkedList_typeId155 array LinkedList_t180 integer Test_x619 = dispatch_LinkedList_Test_LinkedList_getFirst127(asList_1894(asList_1894(42))) integer LinkedList_firstFree230 = 0 integer LinkedList_maxIndex177 = 0 function initGlobals141() { } function main711() { initGlobals141(); init_Test665(); } function config187() { } function init_Test665() { local integer ll632 ll_632 = new_LinkedList211(); if (LinkedList_typeId_155[ll_632] == 0) { if (ll_632 == 0) { error187("Nullpointer exception when calling LinkedList.add"); } else { error187("Called LinkedList.add on invalid object."); }; } else { }; LinkedList_t_180[ll_632] = 42; ll_632 = asList_1894(ll_632); if (LinkedList_typeId_155[ll_632] == 0) { if (ll_632 == 0) { error187("Nullpointer exception when calling LinkedList.getFirst"); } else { error187("Called LinkedList.getFirst on invalid object."); }; } else { }; Test_x_619 = LinkedList_t_180[ll_632]; ll_632 = Test_x_619; if (LinkedList_typeId_155[ll_632] == 0) { if (ll_632 == 0) { error187("Nullpointer exception when calling LinkedList.getFirst"); } else { error187("Called LinkedList.getFirst on invalid object."); }; } else { }; if (LinkedList_t_180[ll_632] == 42) { testSuccess156(); } else { }; } IS_NATIVE function testSuccess156() { } function new_LinkedList211() returns integer { local integer this365 if (LinkedList_firstFree_230 == 0) { if (LinkedList_maxIndex_177 < 32768) { LinkedList_maxIndex_177 = (LinkedList_maxIndex_177 + 1); this_365 = LinkedList_maxIndex_177; LinkedList_typeId_155[this_365] = 1; } else { error187("Out of memory: Could not create LinkedList."); this_365 = 0; }; } else { LinkedList_firstFree_230 = (LinkedList_firstFree_230 - 1); this_365 = LinkedList_nextFree_483[LinkedList_firstFree_230]; LinkedList_typeId_155[this_365] = 1; }; return this_365; } function error187(string msg845) { $debugPrint592((msg_845 + (" " + #getStackTrace()))); } function asList_1894(any ts_0877) returns integer { local integer ll147 ll_147 = new_LinkedList211(); if (LinkedList_typeId_155[ll_147] == 0) { if (ll_147 == 0) { error187("Nullpointer exception when calling LinkedList.add"); } else { error187("Called LinkedList.add on invalid object."); }; } else { }; LinkedList_t_180[ll_147] = ts_0_877; return ll_147; }