X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fpcl%2Fdefs.lisp;h=cea2b0e514447e172a7e8f56cac0e2bd838a89d2;hb=9b1fade83db8453b75b8c7380eb12ce41b5b889c;hp=e01064eb297e8233a49cf733bfc58162a3ca54c8;hpb=da304936655b6690b4ddf15fb2936fe3d219f2ac;p=sbcl.git diff --git a/src/pcl/defs.lisp b/src/pcl/defs.lisp index e01064e..cea2b0e 100644 --- a/src/pcl/defs.lisp +++ b/src/pcl/defs.lisp @@ -76,7 +76,7 @@ ;; FIXME: do we still need this? ((and (null args) (typep type 'classoid)) (or (classoid-pcl-class type) - (ensure-non-standard-class (classoid-name type)))) + (ensure-non-standard-class (classoid-name type) type))) ((specializerp type) type))) ;;; interface @@ -195,12 +195,6 @@ (push (list class-name symbol) *built-in-wrapper-symbols*) symbol))) -(pushnew '%class *var-declarations*) -(pushnew '%variable-rebinding *var-declarations*) - -(defun variable-class (var env) - (caddr (var-declaration 'class var env))) - (defvar *standard-method-combination*) (defun plist-value (object name) @@ -233,7 +227,7 @@ (let ((subs (classoid-subclasses class))) (/noshow subs) (when subs - (dohash (sub v subs) + (dohash ((sub v) subs) (declare (ignore v)) (/noshow sub) (when (member class (direct-supers sub)) @@ -660,10 +654,7 @@ :reader class-direct-slots) (slots :initform () - :reader class-slots) - (slot-vector - :initform #(nil) - :reader class-slot-vector))) + :reader class-slots))) ;;; The class STD-CLASS is an implementation-specific common ;;; superclass of the classes STANDARD-CLASS and