* One more bug in TRANSFORM-LIST-ITEM-SEEK.
** deriving the result type of COERCE no longer signals an error
if the derived type of the second argument is a MEMBER type
containing invalid type specifiers.
+ ** ADJOIN with constant NIL as second argument works correctly.
changes in sbcl-1.0.18 relative to 1.0.17:
* minor incompatible change: SB-SPROF:WITH-PROFILING now by default
`(let ,(mapcar (lambda (fun) `(,fun ,(ensure-fun fun))) funs)
,(open-code c-list)))
((and cp (not c-list))
- ;; constant nil list -- nothing to find!
- nil)
+ ;; constant nil list
+ (if (eq name 'adjoin)
+ '(list item)
+ nil))
(t
;; specialized out-of-line version
`(,(specialized-list-seek-function-name name funs c-test)
(declare (optimize speed))
(adjoin elt '(:y))))
':x)))
-
+(assert (equal '(a) (funcall (compile nil '(lambda () (adjoin 'a nil))))))
(macrolet ((test (expected list-1 list-2 &rest args)
`(progn
;;; 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.18.4"
+"1.0.18.5"