From: Christophe R. <cr...@us...> - 2006-03-27 08:13:17
|
Update of /cvsroot/sbcl/sbcl/src/pcl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23973/src/pcl Modified Files: methods.lisp Log Message: 0.9.11.1: REMOVE-METHOD must return its generic function argument, even if the method isn't one of the generic function's. Caught by PFD ansi-tests Index: methods.lisp =================================================================== RCS file: /cvsroot/sbcl/sbcl/src/pcl/methods.lisp,v retrieving revision 1.53 retrieving revision 1.54 diff -u -d -r1.53 -r1.54 --- methods.lisp 13 Feb 2006 15:59:16 -0000 1.53 +++ methods.lisp 27 Mar 2006 08:13:07 -0000 1.54 @@ -573,7 +573,7 @@ generic-function))) (defun real-remove-method (generic-function method) - (when (eq generic-function (method-generic-function method)) + (when (eq generic-function (method-generic-function method)) (let* ((name (generic-function-name generic-function)) (specializers (method-specializers method)) (methods (generic-function-methods generic-function)) @@ -590,8 +590,8 @@ (map-dependents generic-function (lambda (dep) (update-dependent generic-function - dep 'remove-method method))) - generic-function))) + dep 'remove-method method))))) + generic-function) (defun compute-applicable-methods-function (generic-function arguments) (values (compute-applicable-methods-using-types |