help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EIEIO accessing class slots


From: Stefan Monnier
Subject: Re: EIEIO accessing class slots
Date: Fri, 11 Jun 2021 09:50:58 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

pillule [2021-06-11 02:59:33] wrote:
> Also while speaking of the EIEIO manual the example given in
> (eieio) Accessing Slots
> for with-slots does not seems to work neither.

Indeed, there's a typo:

    (defclass myclass () (x :initform 1))

should be

    (defclass myclass () ((x :initform 1)))

This typo has been with us for more than 10 years ;-)
Thanks,


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]