integer Test_x162 array LinkedList_nextFree398 integer LinkedList_firstFree144 integer LinkedList_maxIndex212 array LinkedList_typeId464 array LinkedList_t201 integer Test_x162 = dispatch_LinkedList_Test_LinkedList_getFirst201(asList_1448(asList_1448(42))) integer LinkedList_firstFree144 = 0 integer LinkedList_maxIndex212 = 0 function initGlobals343() { } function main329() { initGlobals343(); init_Test186(); } function config175() { } function init_Test186() { local integer ll107 ll_107 = new_LinkedList148(); if (LinkedList_typeId_464[ll_107] == 0) { if (ll_107 == 0) { error402("Nullpointer exception when calling LinkedList.add"); } else { error402("Called LinkedList.add on invalid object."); }; } else { }; LinkedList_t_201[ll_107] = 42; ll_107 = asList_1448(ll_107); if (LinkedList_typeId_464[ll_107] == 0) { if (ll_107 == 0) { error402("Nullpointer exception when calling LinkedList.getFirst"); } else { error402("Called LinkedList.getFirst on invalid object."); }; } else { }; Test_x_162 = LinkedList_t_201[ll_107]; ll_107 = Test_x_162; if (LinkedList_typeId_464[ll_107] == 0) { if (ll_107 == 0) { error402("Nullpointer exception when calling LinkedList.getFirst"); } else { error402("Called LinkedList.getFirst on invalid object."); }; } else { }; if (LinkedList_t_201[ll_107] == 42) { testSuccess146(); } else { }; } IS_NATIVE function testSuccess146() { } function new_LinkedList148() returns integer { local integer this204 if (LinkedList_firstFree_144 == 0) { if (LinkedList_maxIndex_212 < 32768) { LinkedList_maxIndex_212 = (LinkedList_maxIndex_212 + 1); this_204 = LinkedList_maxIndex_212; LinkedList_typeId_464[this_204] = 1; } else { error402("Out of memory: Could not create LinkedList."); this_204 = 0; }; } else { LinkedList_firstFree_144 = (LinkedList_firstFree_144 - 1); this_204 = LinkedList_nextFree_398[LinkedList_firstFree_144]; LinkedList_typeId_464[this_204] = 1; }; return this_204; } function error402(string msg954) { $debugPrint320((msg_954 + (" " + #getStackTrace()))); } function asList_1448(any ts_0152) returns integer { local integer ll203 ll_203 = new_LinkedList148(); if (LinkedList_typeId_464[ll_203] == 0) { if (ll_203 == 0) { error402("Nullpointer exception when calling LinkedList.add"); } else { error402("Called LinkedList.add on invalid object."); }; } else { }; LinkedList_t_201[ll_203] = ts_0_152; return ll_203; }