Uncaught type error in CONCATENATE 'VECTOR with improper list argument

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

Bug Description

(lambda () (concatenate 'vector '(a . b)))

==>

The value
  B
is not of type
  LIST
   [Condition of type TYPE-ERROR]

Restarts:
 0: [ABORT] Exit debugger, returning to top level.

Backtrace:
  0: (SB-KERNEL:LIST-TO-VECTOR* (A . B) VECTOR)
  1: ((FLET SB-C::COERCE-CONSTANTS :IN "SYS:SRC;COMPILER;SEQTRAN.LISP") (#:G1) VECTOR)
  2: ((SB-C:DEFTRANSFORM CONCATENATE) #<SB-C::COMBINATION :FUN #<SB-C::REF :LEAF #<SB-C::GLOBAL-VAR :%SOURCE-NAME CONCATENATE :TYPE #1=#<SB-KERNEL:FUN-TYPE #> :DEFINED-TYPE #1# :WHERE-FROM :DECLARED :KIND..
  3: (SB-C::IR1-TRANSFORM #<SB-C::COMBINATION :FUN #<SB-C::REF :LEAF #<SB-C::GLOBAL-VAR :%SOURCE-NAME CONCATENATE :TYPE #1=#<SB-KERNEL:FUN-TYPE #> :DEFINED-TYPE #1# :WHERE-FROM :DECLARED :KIND :GLOBAL-FUN..

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers