Case of :ELEMENT-TYPE * vs T confusion.
Fixes launchpad bug #540186.
SB-EXT:RESTRICT-COMPILER-POLICY into account. (lp#313337)
* bug fix: Comma inside a backquoted array or structure resulted in nonsense
values instead of signaling an error. (lp#309093)
- * bug fix: Spurious unused variale warning in a DEFSTRUCT edge case.
+ * bug fix: Spurious unused variable warning in a DEFSTRUCT edge case.
(lp#528807)
* bug fix: More consistent warnings and notes for ignored DYNAMIC-EXTENT
declarations (lp#497321)
and failed to detect circular lists (lp#452008)
* bug fix: leakage from ~/.asdf-install into the ASDf-INSTALL contrib build
(lp#538974)
+ * bug fix: LOOP OF-TYPE VECTOR compile-time error. (lp#540186)
changes in sbcl-1.0.36 relative to sbcl-1.0.35:
* new feature: SB-EXT:TYPEXPAND-1, SB-EXT:TYPEXPAND, and
((sb!xc:subtypep data-type 'vector)
(let ((ctype (sb!kernel:specifier-type data-type)))
(when (sb!kernel:array-type-p ctype)
- (let ((etype (sb!kernel:array-type-element-type ctype)))
+ (let ((etype (sb!kernel:type-*-to-t
+ (sb!kernel:array-type-specialized-element-type ctype))))
(make-array 0 :element-type (sb!kernel:type-specifier etype))))))
(t
nil)))
(loop with x of-type (simple-vector 1) = (make-array '(1))
repeat 1
return x)
+
+(with-test (:name :bug-540186)
+ (let ((fun (compile nil `(lambda (x)
+ (loop for i from 0 below (length x)
+ for vec of-type vector = (aref x i)
+ collect vec)))))
+ (assert (equal '("foo" "bar")
+ (funcall fun
+ (vector "foo" "bar"))))))
;;; 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.36.25"
+"1.0.36.26"