SLOT-BOUNDP returned extra values in error conditions

This commit is contained in:
Juan Jose Garcia Ripoll 2012-10-07 21:55:22 +02:00
parent 1306759d45
commit e90b2f1212

View file

@ -221,7 +221,7 @@
(let ((location (gethash slot-name location-table nil)))
(if location
(si:sl-boundp (standard-instance-get self location))
(slot-missing class self slot-name 'SLOT-VALUE)))
(values (slot-missing class self slot-name 'SLOT-BOUNDP))))
(let ((slotd (find slot-name (class-slots class) :key #'slot-definition-name)))
(if slotd
(slot-boundp-using-class class self slotd)