X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Farray-tran.lisp;h=34d88402f2f1d0d5862350a9f2b536521a4f52b1;hb=67a805dee41b93fa03c6e72f3d1ce3078dfe88eb;hp=38defe455b39a5e045090f4b5e4f5bcb86451dd9;hpb=5efae2334933e0d8a998e8abbc12489cd5043b4d;p=sbcl.git diff --git a/src/compiler/array-tran.lisp b/src/compiler/array-tran.lisp index 38defe4..34d8840 100644 --- a/src/compiler/array-tran.lisp +++ b/src/compiler/array-tran.lisp @@ -1098,7 +1098,8 @@ `(deftransform ,name ((array index ,@extra)) (let* ((type (lvar-type array)) (element-type (array-type-upgraded-element-type type)) - (declared-type (array-type-declared-element-type type))) + (declared-type (type-specifier + (array-type-declared-element-type type)))) ;; If an element type has been declared, we want to ;; use that information it for type checking (even ;; if the access can't be optimized due to the array