X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fpcl%2Fslots.lisp;h=11ffc160b7f470b8016c1fb5f69d30402f914d91;hb=104ee7ee303efa16e415f5e75df635ac54dba733;hp=6d82bcd22b2f567d0c22979a4d30a82a8fd2f42e;hpb=26b8ddda97fcfa2e2c0eae3bd2fdb19717c5fa40;p=sbcl.git diff --git a/src/pcl/slots.lisp b/src/pcl/slots.lisp index 6d82bcd..11ffc16 100644 --- a/src/pcl/slots.lisp +++ b/src/pcl/slots.lisp @@ -28,7 +28,7 @@ (define-condition unbound-slot (cell-error) ((instance :reader unbound-slot-instance :initarg :instance) (slot :reader unbound-slot-slot :initarg :slot)) - (:report (lambda(condition stream) + (:report (lambda (condition stream) (format stream "The slot ~S is unbound in the object ~S." (unbound-slot-slot condition) (unbound-slot-instance condition))))) @@ -144,8 +144,6 @@ `(accessor-set-slot-value ,object-form ,slot-name-form ,new-value-form) `(set-slot-value-normal ,object-form ,slot-name-form ,new-value-form))) -(defconstant +optimize-slot-boundp+ nil) - (defun slot-boundp (object slot-name) (let* ((class (class-of object)) (slot-definition (find-slot-definition class slot-name)))