From 0f8b0b5c286669f81cc22158afae84af9025b02a Mon Sep 17 00:00:00 2001 From: Nikodemus Siivola Date: Sun, 29 Apr 2007 17:28:28 +0000 Subject: [PATCH] 1.0.5.7: missing test case for 1.0.4.40 * Also add a test-case for the bad type declatation fixed in PCL in 1.0.4.40. --- tests/clos.impure.lisp | 20 ++++++++++++++++++++ version.lisp-expr | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/tests/clos.impure.lisp b/tests/clos.impure.lisp index 36d1ee0..4994d55 100644 --- a/tests/clos.impure.lisp +++ b/tests/clos.impure.lisp @@ -1527,5 +1527,25 @@ (a b *count* (setf *count* 0)) ()) +;;;; long-form method combination with &rest in :arguments +;;;; (this had a bug what with fixed in 1.0.4.something) +(define-method-combination long-form-with-&rest () + ((methods *)) + (:arguments x &rest others) + `(progn + ,@(mapcar (lambda (method) + `(call-method ,method)) + methods) + (list ,x (length ,others)))) + +(defgeneric test-long-form-with-&rest (x &rest others) + (:method-combination long-form-with-&rest)) + +(defmethod test-long-form-with-&rest (x &rest others) + nil) + +(assert (equal '(:foo 13) + (apply #'test-long-form-with-&rest :foo (make-list 13)))) + ;;;; success diff --git a/version.lisp-expr b/version.lisp-expr index 8f0ead8..6bff9a4 100644 --- a/version.lisp-expr +++ b/version.lisp-expr @@ -17,4 +17,4 @@ ;;; checkins which aren't released. (And occasionally for internal ;;; versions, especially for internal versions off the main CVS ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".) -"1.0.5.6" +"1.0.5.7" -- 1.7.10.4