[Ecls-list] Latest changes

Pascal Costanza pc at p-cos.net
Thu Apr 6 09:26:05 UTC 2006


Thanks a lot!

On 3 Apr 2006, at 15:01, Juan Jose Garcia Ripoll wrote:

> Simple ones:
>
> * First argument to slot value setter functions is now specialized  
> to T

A related bug is this. See the following code:

 > (defmethod display ((x nil))
     (print x))
#<STANDARD-METHOD DISPLAY (NIL)>
 > (display 42)

42

This, of course, should not happen. On the one hand, 'nil is not  
specified to be a class according to ANSI Common Lisp. On the other  
hand, even if it is a class (which is acceptable according to ANSI  
CL, IIUC), methods that are specialized on the class nil should never  
be applicable because no object can be of type 'nil.


Pascal

-- 
Pascal Costanza, mailto:pc at p-cos.net, http://p-cos.net
Vrije Universiteit Brussel, Programming Technology Lab
Pleinlaan 2, B-1050 Brussel, Belgium








More information about the ecl-devel mailing list