X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fmop-3.impure-cload.lisp;h=44b3a84b1938162570fe2f2e4b9a26b34ca3d50c;hb=92c8db80e039f60623e53a0b9355cf0a9ec49f3d;hp=173ba20db70ee4d4e13b12e31605b82e9ca3bea4;hpb=8dbc4249380e18a193f4e79306bd958cd88ad9aa;p=sbcl.git diff --git a/tests/mop-3.impure-cload.lisp b/tests/mop-3.impure-cload.lisp index 173ba20..44b3a84 100644 --- a/tests/mop-3.impure-cload.lisp +++ b/tests/mop-3.impure-cload.lisp @@ -32,7 +32,7 @@ (let ((result '())) (dolist (method methods) (if (and (consp result) - (equal (method-qualifiers method) + (equal (method-qualifiers method) (method-qualifiers (caar result)))) (push method (car result)) (push (list method) result))) @@ -40,19 +40,19 @@ (defmethod compute-applicable-methods ((gf msl-generic-function) arguments) (reverse-method-list (call-next-method))) -(defmethod compute-applicable-methods-using-classes +(defmethod compute-applicable-methods-using-classes ((gf msl-generic-function) classes) (reverse-method-list (call-next-method))) -(defgeneric testgf07 (x) +(defgeneric testgf07 (x) (:generic-function-class msl-generic-function) - (:method ((x integer)) + (:method ((x integer)) (cons 'integer (if (next-method-p) (call-next-method)))) - (:method ((x real)) + (:method ((x real)) (cons 'real (if (next-method-p) (call-next-method)))) - (:method ((x number)) + (:method ((x number)) (cons 'number (if (next-method-p) (call-next-method)))) - (:method :around ((x integer)) + (:method :around ((x integer)) (coerce (call-next-method) 'vector))) (assert (equalp (list (testgf07 5.0) (testgf07 17)) @@ -69,22 +69,22 @@ (sb-pcl:method-specializers method))) methods)) -(defmethod compute-applicable-methods +(defmethod compute-applicable-methods ((gf nonumber-generic-function) arguments) (nonumber-method-list (call-next-method))) -(defmethod compute-applicable-methods-using-classes +(defmethod compute-applicable-methods-using-classes ((gf nonumber-generic-function) classes) (nonumber-method-list (call-next-method))) -(defgeneric testgf08 (x) +(defgeneric testgf08 (x) (:generic-function-class nonumber-generic-function) - (:method ((x integer)) + (:method ((x integer)) (cons 'integer (if (next-method-p) (call-next-method)))) - (:method ((x real)) + (:method ((x real)) (cons 'real (if (next-method-p) (call-next-method)))) - (:method ((x number)) + (:method ((x number)) (cons 'number (if (next-method-p) (call-next-method)))) - (:method :around ((x integer)) + (:method :around ((x integer)) (coerce (call-next-method) 'vector))) (assert (equalp (list (testgf08 5.0) (testgf08 17))