An explicit THE + VALUES broke LOAD-TIME-VALUE.
FIxes lp#646796.
changes relative to sbcl-1.0.43:
* bug fix: compiler failed to derive the result-type of MAKE-ARRAY as
(AND VECTOR (NOT SIMPLE-ARRAY)) when appropriate. (lp#309130)
+ * bug fix: (THE (VALUES ...)) in LOAD-TIME-VALUE caused a compiler-error.
+ (lp#646796)
changes in sbcl-1.0.43 relative to sbcl-1.0.42:
* incompatible change: FD-STREAMS no longer participate in the serve-event
(cond ((consp form)
(let ((op (car form)))
(cond ((member op '(the truly-the))
- (specifier-type (second form)))
+ (values-specifier-type (second form)))
((eq 'function op)
(specifier-type 'function))
((and (legal-fun-name-p op)
(list (vector-push-extend (svref x 0) x))))
((and warning (not style-warning)) ()
:warning)))))
+
+(with-test (:name :bug)
+ (assert 42
+ (funcall
+ (compile nil
+ `(lambda ()
+ (load-time-value (the (values fixnum) 42)))))))
;;; 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.43.2"
+"1.0.43.3"