MAKE-ARRAY compile failure when dimension list is improper

Bug #1741984 reported by Paul F. Dietz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Fix Released
Undecided
Unassigned

Bug Description

(lambda () (make-array '(0 . 1)))

===>

The value
  1
is not of type
  LIST
   [Condition of type TYPE-ERROR]
[...]
  0: (SB-KERNEL:%MAP-FOR-EFFECT-ARITY-1 #<CLOSURE (FLET "WRAPPER6" :IN MAKE-ARRAY) {7FFFF6996D0B}> (0 . 1))
  1: ((:SOURCE-TRANSFORM MAKE-ARRAY) (MAKE-ARRAY (QUOTE (0 . 1))) #S(SB-KERNEL:LEXENV :FUNS NIL :VARS NIL :BLOCKS NIL :TAGS NIL :TYPE-RESTRICTIONS NIL :LAMBDA #<SB-C::CLAMBDA :%SOURCE-NAME SB-C::.ANONYMOUS..
[...]

Revision history for this message
Stas Boukarev (stassats) wrote :

7edef9b196563d61343afd16fee1b6057a0587a6

Changed in sbcl:
status: New → Fix Committed
Stas Boukarev (stassats)
Changed in sbcl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.