0.7.13.pcl-class.1
[sbcl.git] / src / pcl / print-object.lisp
index b31d7c8..2c6e71d 100644 (file)
@@ -98,7 +98,7 @@
 
 (defun named-object-print-function (instance stream
                                    &optional (extra nil extra-p))
-  (print-unreadable-object (instance stream :type t)
+  (print-unreadable-object (instance stream :type t :identity t)
     (if extra-p                                        
        (format stream
                "~S ~:S"
        (list (length (generic-function-methods generic-function)))
        "?")))
 
-(defmethod print-object ((constructor constructor) stream)
-  (print-unreadable-object (constructor stream :type t :identity t)
-    (format stream
-           "~S"
-           (slot-value-or-default constructor 'name))))
-
 (defmethod print-object ((cache cache) stream)
   (print-unreadable-object (cache stream :type t :identity t)
     (format stream