Hi
In the past few months, I unfortunately can't work a lot with
EIEIO [1]. Today, I surprisingly found the following error while
trying to use 'setf' on a slot accessor function:
ELISP> (defclass A () ((s :initarg :s :accessor get-s)))
[defclass A nil nil
...]
ELISP> (setf (get-s (A "name" :s 'value)) 'new-value)
*** Eval error *** Invalid slot name: "#<A name>", get-s
ELISP>
I found nowhere if this is valid or not. Is it?
[1] Erik, did FSF say you I signed the copyright assignment?
--drkm
|