Compiled COMPILE forms at load time Bug
Helmut Eller
heller at common-lisp.net
Tue Mar 16 15:04:41 CET 2010
* 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
More information about the cmucl-imp
mailing list