#297: Array elements aren't checked when setting specialized integer arrays -----------------------+---------------------------------------------------- Reporter: sboukarev | Owner: mevenson Type: defect | Status: new Priority: minor | Milestone: Component: streams | Version: Keywords: | -----------------------+---------------------------------------------------- (make-array 5 :element-type '(unsigned-byte 8) :initial-element 300) => #(44 44 44 44 44)
(make-array 5 :element-type '(unsigned-byte 16) :initial-element (+ 300 (expt 2 16))) => #(65836 65836 65836 65836 65836)
While (make-array 5 :element-type 'bit :initial-element 300) The value 300 is not of type COMMON-LISP:BIT.