[Ecls-list] Problem with CLOS

Goffioul Michael goffioul at imec.be
Fri Apr 21 05:32:04 UTC 2006


Hi,

I wanted to take a look at CMN (http://ccrma.stanford.edu/software/cmn/)
with ECL
and discovered a problem related to CLOS. This happens with a pattern
that is
used several times in CMN and that is illustrated in the attached source
file.
The pattern consists of deriving from a class and redefining a slot with
the same
name as a slot in the parent class, but with different accessors. I'm
not sure
what's the expected behavior, but in ECL, the result is that the method
SLOT-0,
when applied to a C object, looks at the wrong offset in the list of
slots of the
object.

This is with CVS updated today.

Michael.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testclos.lsp
Type: application/octet-stream
Size: 492 bytes
Desc: testclos.lsp
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20060421/a49c0830/attachment.obj>


More information about the ecl-devel mailing list