Compiled COMPILE forms at load time Bug

Helmut Eller heller at common-lisp.net
Fri Mar 12 17:45:34 CET 2010


* Raymond Toy [2010-03-12 12:35+0100] writes:

> So COMPILE has silently zapped the structure.  We should probably print
> he warning for this too.

Yes, definitely.  Also for this:

(defstruct xyz a)
(setf (fdefinition 'xyz-a) (lambda () 42))

> Note that in both cases any existing structures will be in a bad state.
>  They still exist, but there's not much you can do with them.

Compiled could would continue to work since accessors are inlined.  Also
(type-of (make-xyz)) still works.  The printer is effed up, though.

Helmut




More information about the cmucl-imp mailing list