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

Gabriel Dos Reis gdr at integrable-solutions.net
Wed Nov 25 23:34:15 UTC 2009


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)'.

-- Gaby




More information about the ecl-devel mailing list