Robert P. Goldman said: > > I have been attempting to port some Allegro CL code that uses CLOS > heavily, to CMUCL/PCL. > > I just ran into a somewhat puzzling bug. I have compiled a file > containing a class definition and the definition of an > INITIALIZE-INSTANCE :AFTER method for the class in question. The file > compiles with no errors, but I get an error when LOADING the resulting > compiled code:
Using both current CVS CMUCL, as well as Release 18d, the code you included below compiles and loads without problems, and the initialize-instance :after method is invoked correctly when evaluating (make-instance 'bt-object) erroring out in that method, since bt-push is undefined, of course. So either you are using a broken binary/version, or some other code is messing up your CLOS/PCL. In either case it would be helpful to know the exact version of CMUCL you are using, as well as any other loaded code, and/or whether the error occurs in a fully clean core (starting from 18d, you can get this by invoking cmucl with the -noinit and -nositeinit flags). Regs, Pierre. -- Pierre R. Mai <[EMAIL PROTECTED]> http://www.pmsf.de/pmai/ The most likely way for the world to be destroyed, most experts agree, is by accident. That's where we come in; we're computer professionals. We cause accidents. -- Nathaniel Borenstein
