On Thu, May 12, 2011 at 7:05 PM, Alex Mizrahi <alex.mizr...@gmail.com> wrote: > I've found the problem: finalize-inheritance is not always called on > class updates (even when compute-slots is called). Spec says that it is > called at least once somewhere between class being defined and > instantiation of its instances, and that's it.
> What we can depend on, though? I'm not a MOP expert, but it looks like > COMPUTE-SLOTS is ideal for slot-related stuff, like derived index triggers. What about an :after or :before method on update-instance-for-redefined-class? It is the method suggested in "OO programming in Common-Lisp" by Keene. Or look at what is in Closer-MOP, or even use it. Also I found AMOP is online http://keke.yamfa.net/amop/ But maybe your idea works. /Henrik _______________________________________________ elephant-devel site list elephant-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/elephant-devel