X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fpcl%2Fdefs.lisp;h=dbed28c0a279ea95d93061c737c1329629dae5aa;hb=72db452798256d266d5909bd330d9eb5b31c6f1e;hp=7a2e36bca5c656b77a35084088aaa7d5a6704254;hpb=ba2010734297dc7e9b06b1199afc5bc806b50dfc;p=sbcl.git diff --git a/src/pcl/defs.lisp b/src/pcl/defs.lisp index 7a2e36b..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) @@ -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) ())