Uncaught compiler error for MAKE-ARRAY when :INITIAL-CONTENTS is a non-sequence constant

Bug #1740779 reported by Paul F. Dietz on 2018-01-01
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Undecided
Unassigned

Bug Description

(lambda () (make-array '(1) :initial-contents 'foo))

===>

The value
  FOO
is not of type
  SEQUENCE
   [Condition of type TYPE-ERROR]
[...]
  0: (LENGTH FOO)
  1: (SB-C::TRANSFORM-MAKE-ARRAY-VECTOR 1 NIL NIL #<SB-C::LVAR 1 {100459C5B3}> #<SB-C::COMBINATION :FUN #<SB-C::REF :LEAF #<SB-C::GLOBAL-VAR :%SOURCE-NAME MAKE-ARRAY :TYPE #1=#<SB-KERNEL:FUN-TYPE #> :DEFI..
[...]

Stas Boukarev (stassats) wrote :

In 42ce366e07dfd5ff29ae26d768c2ee2a2c070601.

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

Other bug subscribers