strictly-monotonic functions. (lp#975528)
* bug fix: copy-tree caused stack exhaustion on long linear lists, and now
it's also slightly faster. (lp#998926)
- * bug fix: better error messages for malformed IGNORE declarations.
+ * bug fix: better error messages for malformed declarations.
(lp#1000239)
* documentation:
** improved docstrings: REPLACE (lp#965592)
(format stream "between ~W and ~W expected"
(arg-count-error-minimum condition)
(arg-count-error-maximum condition))))
- (format stream ", but ~W found"
- (length (arg-count-error-args condition)))))))
+ (format stream ", but ~a found"
+ (if (null (cdr (last (arg-count-error-args condition))))
+ (length (arg-count-error-args condition))
+ "not a proper list"))))))
(define-condition defmacro-lambda-list-broken-key-list-error
(defmacro-lambda-list-bind-error)
(raises-error?
(eval '(lambda () (declare (ignorable (a b)))))
sb-int:compiled-program-error))
+
+(with-test (:name :malformed-type-declaraions)
+ (compile nil '(lambda (a) (declare (type (integer 1 2 . 3) a)))))