[Ecls-list] Two bugs in ECL's CLOS implementation

Pascal Costanza pc at p-cos.net
Thu Nov 26 10:20:18 UTC 2009


On 26 Nov 2009, at 00:34, Gabriel Dos Reis wrote:

> On Wed, Nov 25, 2009 at 3:28 PM, Pascal Costanza <pc at p-cos.net> wrote:
>> Hi,
>> 
>> Currently working on support for Closer to MOP, one minor nit, one that appears to be a showstopper at the moment. Tests are based on the current CVS repository.
>> 
>> Minor nit:
>> 
>> (defclass person ()
>> ((name :initarg :name :reader person-name)
>>  (address :initarg :address :reader person-address)))
>> 
>> (defvar *p*)
>> 
>> (defun test ()
>> (setq *p* (make-instance 'person :name "Pascal")))
>> 
>> If I compile this, I get a warning that I pass too many arguments to make-instance. This seems to have to do with &rest argument processing.
> 
> I can confirm this.
> 
> The system also system to reject the type '(VALUES &REST T)'.

Yes, I had that one too, but I don't know how to reproduce it...


Pascal

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










More information about the ecl-devel mailing list