X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fpcl%2Fvector.lisp;h=fdd43e6eb4133dab57ee754bef3fd071c8dd8a4b;hb=9a2e730f74641e7de6ad4099111db92c5ad863bf;hp=12a4640f7f3e62d787e223659cae8d8362ff51c2;hpb=c713eb2b521b048ff2c927ec52b861787d289f85;p=sbcl.git diff --git a/src/pcl/vector.lisp b/src/pcl/vector.lisp index 12a4640..fdd43e6 100644 --- a/src/pcl/vector.lisp +++ b/src/pcl/vector.lisp @@ -1008,8 +1008,8 @@ ;;; Pull a name out of the %METHOD-NAME declaration in the function ;;; body given, or return NIL if no %METHOD-NAME declaration is found. (defun body-method-name (body) - (multiple-value-bind (documentation declarations real-body) - (extract-declarations body nil) + (multiple-value-bind (real-body declarations documentation) + (parse-body body nil) (declare (ignore documentation real-body)) (let ((name-decl (get-declaration '%method-name declarations))) (and name-decl @@ -1156,7 +1156,7 @@ (w-t pv-wrappers)) (dolist (arg args) (setq w (wrapper-of arg)) - (unless (eq t (wrapper-state w)) ; FIXME: should be INVALID-WRAPPER-P + (when (invalid-wrapper-p w) (setq w (check-wrapper-validity arg))) (setf (car w-t) w)) (setq w-t (cdr w-t))