Re: Redefining structure accessors (summary)

Raymond Toy <[email protected]>
Newsgroups gmane.lisp.cmucl.devel
Message-ID <[email protected]>
On 3/16/10 6:06 PM, Helmut Eller wrote:
> * Raymond Toy [2010-03-16 21:48+0100] writes:
>
>   
>> I also notice that you can redefine the structure predicate without
>> warning.  Perhaps we should warn about this too.
>>     
> Possibly.  At least typep is smart enough not to call the predicate name
> and still works if the predicate was redefined.
>   
The compiler doesn't know the names of the predicate function or the
copier function either, so we can't currently check for that.  We'd need
to add that to the info database.  Shouldn't be hard, but I don't feel
like doing that right now.

Ray
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.