1.0.43.1: better handling of complex array types in fill-pointer ops
[sbcl.git] / src / compiler / generic / vm-type.lisp
index 4f7c4a7..997aa8e 100644 (file)
@@ -96,6 +96,9 @@
         (types `(simple-array ,type ,dims))))
     (types)))
 
+(sb!xc:deftype complex-vector (&optional element-type length)
+  `(and (vector ,element-type ,length) (not simple-array)))
+
 ;;; Return the symbol that describes the format of FLOAT.
 (declaim (ftype (function (float) symbol) float-format-name))
 (defun float-format-name (x)