(SETF SLOT-VALUE) did not always return the assigned value

This commit is contained in:
Juan Jose Garcia Ripoll 2012-10-07 21:28:40 +02:00
parent 0e5595ccae
commit 1306759d45

View file

@ -240,7 +240,8 @@
(let ((slotd (find slot-name (class-slots class) :key #'slot-definition-name)))
(if slotd
(setf (slot-value-using-class class self slotd) value)
(slot-missing class self slot-name 'SETF value)))))))
(slot-missing class self slot-name 'SETF value))))))
value)
;;;
;;; 2) Overloadable methods on which the previous functions are based