X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=contrib%2Fsb-aclrepl%2Finspect.lisp;h=c13f68653ebe4dc08f6bf4267ad1fac6816206db;hb=ad3beba970fab6e451a461c9f9b14faf4ef17718;hp=8611d9d487a88d508cd6e202c50377d6cc834c4c;hpb=644a1ff36dd578321fd0592aa47748e8af741542;p=sbcl.git diff --git a/contrib/sb-aclrepl/inspect.lisp b/contrib/sb-aclrepl/inspect.lisp index 8611d9d..c13f686 100644 --- a/contrib/sb-aclrepl/inspect.lisp +++ b/contrib/sb-aclrepl/inspect.lisp @@ -759,8 +759,12 @@ cons cells and LIST-TYPE is :normal, :dotted, or :cyclic" (defun parts-seq-hint (parts) (fourth parts)) -(defgeneric inspected-parts (object) - ) +;;; FIXME: Most of this should be refactored to share the code +;;; with the vanilla inspector. Also, we should check what the +;;; Slime inspector does, and provide a an interface for it to +;;; use that would propagate any SBCL inspector improvements +;;; automagically to Slime. -- ns 2005-02-20 +(defgeneric inspected-parts (object)) (defmethod inspected-parts ((object symbol)) (let ((components @@ -825,7 +829,9 @@ cons cells and LIST-TYPE is :normal, :dotted, or :cyclic" (defmethod inspected-parts ((object array)) (let ((size (array-total-size object))) - (list (make-array size :displaced-to object) + (list (make-array size + :element-type (array-element-type object) + :displaced-to object) size :array (reverse (array-dimensions object)))))