Re: Compiled COMPILE forms at load time Bug

Helmut Eller <[email protected]>
Newsgroups gmane.lisp.cmucl.devel
Message-ID <[email protected]>
* 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.