From: Nikodemus S. <nik...@ra...> - 2007-09-08 14:22:20
|
On 9/8/07, Kevin Reid <kp...@ma...> wrote: > Suppose the above is loaded, the class definition is edited in the > file, and then: > > (enqueue #'reload (queue *event-loop*)) > (top) This is actually not problematic as such -- only in certain cases. (I think this is clear to everyone, but just to clarify.) The restrictions are: * Don't CHANGE-CLASS or redefine classes in the middle of a GF call so that the set of applicable methods changes. * Don't CHANGE-CLASS or redefine classes in the middle of a GF call is a method of that call is going to access slots of the altered instance after the alteration. Cheers, -- Nikodemus |