[Ecls-list] First MOP problem...
Juan Jose Garcia-Ripoll
lisp at arrakis.es
Sat Feb 25 05:08:08 UTC 2006
Pascal Costanza dijo:
> Hi,
>
> I have checked out the latest ECL sources from the CVS repository and
> tried to get some first CLOS MOP to run. But an already very simple
> test case doesn't work.
>
> When I enter the following code:
>
> (defclass test-class (standard-class) ())
>
> (defmethod validate-superclass
> ((class test-class)
> (superclass standard-class))
> t)
>
> (defclass test-object-1 () ()
> (:metaclass test-class))
>
> I get the following error:
>
> #<The TEST-CLASS TEST-OBJECT-1> is not of type SEQUENCE.
> Broken at LAMBDA.
I have identified the problem: the CLASS-DIRECT-SLOTS from
STANDARD-INSTANCE has too few entries (typo in src/clos/boot.lsp). I will
commit my fix next week.
Juanjo
More information about the ecl-devel
mailing list