flexi-streams-1.0.7
The simple-array type declaration in output-stream-sequence-length is wrong because the vector has fill-pointer and adjustable.
(defmethod output-stream-sequence-length ((stream in-memory-output-stream)) (declare (optimize speed)) (with-accessors ((vector vector-stream-vector)) stream (length (the (simple-array * (*)) vector))))
regards, T.