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-16 14:18+0100] writes:

>> At load time, a cerror if the whole structure gets removed; no warning
>> if only the accessor gets overwritten.  We have already definition locks
>> which can be used for more delicate accessor names.
>>   
> I didn't quite follow you here.   We already get a cerror if we redefine
> a structure.   So if an accessor is redefined, we just silently allow it?

I would not expect that defun can undefine a structure and therefore I
would like to see a warning.  That defun can redefine a accessor
function seems normal to me; at least no different than redefining an
inlineable function.  Also those load time warnings tend be confusing
because it's hard to give a source location.  If a warning was already
given at compile time, there's little need to repeat it at load time.

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.