X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fpcl%2Fenv.lisp;h=8018e812f90a751a30888cdaf15a4be3c6f4ccbe;hb=8a55e8e2feb7fd0faaaed6d420beec97dade94e4;hp=459f9a742d3cf858fdffdd01cfcbe8be26acc81f;hpb=475c832b081651e66ad9446d4852c62086f5e740;p=sbcl.git diff --git a/src/pcl/env.lisp b/src/pcl/env.lisp index 459f9a7..8018e81 100644 --- a/src/pcl/env.lisp +++ b/src/pcl/env.lisp @@ -103,9 +103,9 @@ (defun trace-method-internal (ofunction name options) (eval `(untrace ,name)) - (name-set-fdefinition name ofunction) + (setf (fdefinition name) ofunction) (eval `(trace ,name ,@options)) - (name-get-fdefinition name)) + (fdefinition name)) |# ;;;; MAKE-LOAD-FORM @@ -142,15 +142,15 @@ (defmethod make-instance ((class cl:class) &rest stuff) (apply #'make-instance (coerce-to-pcl-class class) stuff)) -(defmethod change-class (instance (class cl:class)) - (apply #'change-class instance (coerce-to-pcl-class class))) +(defmethod change-class (instance (class cl:class) &rest initargs) + (apply #'change-class instance (coerce-to-pcl-class class) initargs)) (macrolet ((frob (&rest names) `(progn - ,@(mapcar #'(lambda (name) - `(defmethod ,name ((class cl:class)) - (funcall #',name - (coerce-to-pcl-class class)))) + ,@(mapcar (lambda (name) + `(defmethod ,name ((class cl:class)) + (funcall #',name + (coerce-to-pcl-class class)))) names)))) (frob class-direct-slots