Skip to content
Snippets Groups Projects
Commit a4fc1a22 authored by ehuelsmann's avatar ehuelsmann
Browse files

ABCL *does* support DEFINE-METHOD-COMBINATION (long form) now!

parent 9da4814b
No related branches found
No related tags found
No related merge requests found
...@@ -294,7 +294,6 @@ ...@@ -294,7 +294,6 @@
(defun positive-integer-qualifier-p (qualifiers) (defun positive-integer-qualifier-p (qualifiers)
(typep qualifiers '(cons (integer 1) null))) (typep qualifiers '(cons (integer 1) null)))
#-armedbear
(define-method-combination randomized nil ((method-list positive-integer-qualifier-p)) (define-method-combination randomized nil ((method-list positive-integer-qualifier-p))
(assert method-list) (assert method-list)
(let ((clauses (mapcar #'(lambda (method) (let ((clauses (mapcar #'(lambda (method)
...@@ -303,5 +302,3 @@ ...@@ -303,5 +302,3 @@
method-list))) method-list)))
`(loop (catch 'fail (return (rcase ,@clauses)))))) `(loop (catch 'fail (return (rcase ,@clauses))))))
#+armedbear
(warn "ABCL doesn't support the long form of DEFINE-METHOD-COMBINATION; randomized testing disabled.")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment