Changeset 12470
- Timestamp:
- 02/14/10 09:23:14 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/metaclass/abcl/src/org/armedbear/lisp/StandardClass.java
r12467 r12470 75 75 setDirectSuperclasses(NIL); 76 76 setDirectSubclasses(NIL); 77 78 // because of the assert below, we need to set the slot directly 79 // and can't use setCPL() 80 setInstanceSlotValue(symClassPrecedenceList, NIL); 77 setCPL(NIL); 81 78 } 82 79 … … 86 83 symbol, directSuperclasses); 87 84 setDirectSubclasses(NIL); 88 89 // because of the assert below, we need to set the slot directly 90 // and can't use setCPL() 91 setInstanceSlotValue(symClassPrecedenceList, NIL); 85 setCPL(NIL); 92 86 } 93 87 … … 151 145 { 152 146 LispObject obj1 = cpl[0]; 153 if (obj1 instanceof Cons&& cpl.length == 1)147 if (obj1.listp() && cpl.length == 1) 154 148 setInstanceSlotValue(symClassPrecedenceList, obj1); 155 149 else
Note: See TracChangeset
for help on using the changeset viewer.