Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#353 Reinitialization of class doesn't call finalize-inheritance

closed-fixed
Sam Steingold
clisp (525)
5
2006-07-25
2006-07-21
Pascal Costanza
No

In the current clisp version, when reinitialize-instance is applied to a class
metaobject, finalize-inheritance is not necessarily reapplied to that class
metaobject as well, although the CLOS MOP specification says so. (See
Section "Reinitialization of Class Metaobjects".)

This is important because there is otherwise no reliable way to determine
whether this happened or not, so a user cannot ensure a call to finalize-
inheritance, at least not in a straightforward way. However, a user-defined
metaclass may want to rely on the fact that a user-defined method on
finalize-inheritance is actually executed on reinitialization.

Discussion

  • Test case.

     
    Attachments
  • Sam Steingold
    Sam Steingold
    2006-07-25

    • assigned_to: haible --> sds
    • status: open --> closed-fixed
     
  • Sam Steingold
    Sam Steingold
    2006-07-25

    Logged In: YES
    user_id=5735

    thank you for your bug report.
    the bug has been fixed in the CVS tree.
    you can either wait for the next release (recommended)
    or check out the current CVS tree (see http://clisp.cons.org\)
    and build CLISP from the sources (be advised that between
    releases the CVS tree is very unstable and may not even build
    on your platform).