make-array transform for list dimensions fails on unknown element-type
Reported by Kenjin on #lisp. I cut down to a smaller test case.
(defparameter *world* nil)
;(defclass tile () ())
(defun reset ()
(setf *world* (make-array '(30 40) :element-type 'tile)))
Compiling this will get you a compile-time error about an unknown type TILE, or more specifically that upgraded-
(:SWANK :QUICKLISP :SB-BSD-
:COMMON-LISP :SBCL :SB-DOC :SB-TEST :SB-LDB :SB-PACKAGE-LOCKS :SB-UNICODE
:OS-PROVIDES-PUTWC :OS-PROVIDES-DLADDR :OS-PROVIDES-DLOPEN :LITTLE-ENDIAN
:LINKAGE-TABLE :MULTIPLY-HIGH-VOPS :MEMORY-
:CYCLE-COUNTER :ALIEN-CALLBACKS :STACK-
:LINUX :ELF :UNIX :X86)
I know mine's a bit old, but my patch is against what I pulled from git and it doesn't seem to have been fixed.