array FoldClosure_nextFree914 integer FoldClosure_firstFree232 integer FoldClosure_maxIndex840 array LinkedList_nextFree706 integer LinkedList_firstFree167 integer LinkedList_maxIndex803 array LinkedList_typeId175 integer FoldClosure_firstFree232 = 0 integer FoldClosure_maxIndex840 = 0 integer LinkedList_firstFree167 = 0 integer LinkedList_maxIndex803 = 0 function initGlobals101() { } function main147() { initGlobals101(); init_test104(); } function config212() { } function init_test104() { dispatch_LinkedList_test_LinkedList_foldl154(new_LinkedList987(), 0, alloc_FoldClosure_foldl_test684()); } function LinkedList_foldl179(integer this778, any startValue460, integer predicate108) returns any { return null; } function LinkedList_init992(integer this145) { } function new_LinkedList987() returns integer { local integer this188 this_188 = alloc_LinkedList163(); construct_LinkedList175(this_188); return this_188; } function construct_LinkedList175(integer this350) { LinkedList_init992(this_350); } function alloc_FoldClosure_foldl_test684() returns integer { local integer this167 if (FoldClosure_firstFree_232 == 0) { if (FoldClosure_maxIndex_840 < 32768) { FoldClosure_maxIndex_840 = (FoldClosure_maxIndex_840 + 1); this_167 = FoldClosure_maxIndex_840; } else { error172("Out of memory: Could not create FoldClosure_foldl_test."); this_167 = 0; }; } else { FoldClosure_firstFree_232 = (FoldClosure_firstFree_232 - 1); this_167 = FoldClosure_nextFree_914[FoldClosure_firstFree_232]; }; return this_167; } function error172(string msg364) { $debugPrint152((msg_364 + (" " + #getStackTrace()))); } function alloc_LinkedList163() returns integer { local integer this154 if (LinkedList_firstFree_167 == 0) { if (LinkedList_maxIndex_803 < 32768) { LinkedList_maxIndex_803 = (LinkedList_maxIndex_803 + 1); this_154 = LinkedList_maxIndex_803; LinkedList_typeId_175[this_154] = 3; } else { error172("Out of memory: Could not create LinkedList."); this_154 = 0; }; } else { LinkedList_firstFree_167 = (LinkedList_firstFree_167 - 1); this_154 = LinkedList_nextFree_706[LinkedList_firstFree_167]; LinkedList_typeId_175[this_154] = 3; }; return this_154; } function dispatch_LinkedList_test_LinkedList_foldl154(integer this117, any startValue143, integer predicate123) returns any { if (LinkedList_typeId_175[this_117] == 0) { if (this_117 == 0) { error172("Nullpointer exception when calling LinkedList.foldl"); } else { error172("Called LinkedList.foldl on invalid object."); }; } else { }; return LinkedList_foldl179(this_117, startValue_143, predicate_123); }