PRINT-OBJECT did not have a valid default for built in class

This commit is contained in:
Juan Jose Garcia Ripoll 2013-03-30 23:29:40 +01:00
parent 7474915c7b
commit 2804e1aa59

View file

@ -167,6 +167,9 @@ printer and we should rather use MAKE-LOAD-FORM."
;;; ----------------------------------------------------------------------
(defmethod print-object ((instance t) stream)
(write instance :stream stream))
(defmethod print-object ((instance standard-object) stream)
(print-unreadable-object (instance stream)
(let ((*package* (find-package "CL")))
(format stream "a ~S"