[comp.lang.clos] maybe a bug of with-slots/with-accessors

harrisr@CS.RPI.EDU (Richard Harris) (05/31/91)

Yes.  This is a bug.  The lines:
       ,@(and (symbolp instance)
	      `((declare (variable-rebinding ,in ,instance))
appearing in with-slots and with-accessors (in boot.lisp)
should have been:
       ,@(and (symbolp instance)
              `((declare (variable-rebinding ,in ,instance))))


This bug does not appear in May Day PCL Rev 4 or earlier.

It is only in Rev 4b (which I put on arisia at the same time I
put the file structure.lisp there, because it was what I used to
test structure.lisp).

The new features of Rev 4b are:
  optimization of slot-boundp forms as well as slot-value forms,
  symbol-macrolet is now defined,
  PCL can now be loaded into the environment in which it was compiled
    (after renaming or deleting the PCL package).  This did not work
    in Genera, because of some things in fin.lisp.

-----------
Richard Harris