X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fpcl%2Fdefs.lisp;h=dbed28c0a279ea95d93061c737c1329629dae5aa;hb=88cc2f72774202503588331fddd1592ae8546de1;hp=61f7cb740861122ec4cd318bc2a079066b62af54;hpb=942e45e3bb73fd55786e4a0ab4590324063c0c89;p=sbcl.git diff --git a/src/pcl/defs.lisp b/src/pcl/defs.lisp index 61f7cb7..dbed28c 100644 --- a/src/pcl/defs.lisp +++ b/src/pcl/defs.lisp @@ -200,8 +200,6 @@ (defun variable-class (var env) (caddr (var-declaration 'class var env))) -(defvar *name->class->slotd-table* (make-hash-table)) - (defvar *standard-method-combination*) (defun plist-value (object name) @@ -456,7 +454,7 @@ :initarg :initargs :accessor slot-definition-initargs) (%type :initform t :initarg :type :accessor slot-definition-type) - (%documentation + (%documentation :initform nil :initarg :documentation ;; KLUDGE: we need a reader for bootstrapping purposes, in ;; COMPUTE-EFFECTIVE-SLOT-DEFINITION-INITARGS. @@ -537,7 +535,15 @@ ()) (defclass specializer (metaobject) - ((type :initform nil :reader specializer-type))) + ;; KLUDGE: in sbcl-0.9.10.2 this was renamed from TYPE, which was an + ;; external symbol of the CL package and hence potentially collides + ;; with user code. Renaming this to %TYPE, however, is the coward's + ;; way out, because the objects that PCL puts in this slot aren't + ;; (quite) types: they are closer to kinds of specializer. However, + ;; the wholesale renaming and disentangling of specializers didn't + ;; appeal. (See also message and + ;; responses in comp.lang.lisp). -- CSR, 2006-02-27 + ((%type :initform nil :reader specializer-type))) (defclass specializer-with-object (specializer) ())