Compiler error in invalid code: make-array where initial-contents is not a sequence

Bug #2037328 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 (d) (make-array d :initial-contents 17))

==>

The value
  17
is not of type
  SEQUENCE
   [Condition of type TYPE-ERROR]

Restarts:
 0: [RETRY] Retry SLIME REPL evaluation request.
 1: [*ABORT] Return to SLIME's top level.
 2: [ABORT] abort thread (#<THREAD tid=21244 "repl-thread" RUNNING {1001098003}>)

Backtrace:
  0: (SB-C::%MAKE-ARRAY-IR2-HOOK-OPTIMIZER #<SB-C::COMBINATION :FUN #<SB-C::REF :LEAF #<SB-C::GLOBAL-VAR :%SOURCE-NAME SB-KERNEL:%MAKE-ARRAY :TYPE #1=#<SB-KERNEL:FUN-TYPE #> :DEFINED-TYPE #1# :WHERE-FROM ..
  1: (SB-C::IR2-CONVERT-BLOCK #<SB-C::CBLOCK 1 :START c1 {102DF77A53}>)
  2: (SB-C:IR2-CONVERT #<SB-C:COMPONENT :NAME "<unknown>" {102E129123}>)
  3: (SB-C::%COMPILE-COMPONENT #<SB-C:COMPONENT :NAME "<unknown>" {102E129123}>)
 [...]

x86-64, "2.3.8.168-eaf878d47"

Stas Boukarev (stassats)
Changed in sbcl:
status: New → Fix Committed
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.