Uncaught compiler error from COERCE with bad type arg

Bug #1739450 reported by Paul F. Dietz on 2017-12-20
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Undecided
Unassigned

Bug Description

(defun f53 () (coerce (list 1) 2))

==>

The value
  NIL
is not of type
  SB-KERNEL:CTYPE
when binding SB-KERNEL::TYPE1
   [Condition of type TYPE-ERROR]
[...]
  0: (SB-KERNEL:CSUBTYPEP NIL #<SB-KERNEL:ARRAY-TYPE VECTOR>) [external]
  1: ((:SOURCE-TRANSFORM COERCE) (COERCE (LIST 1) 2) #S(SB-KERNEL:LEXENV :FUNS NIL :VARS NIL :BLOCKS ((F53 # #<SB-C::CTRAN 1 {10041402F3}> #<SB-C::LVAR 2 {1004140323}>)) :TAGS NIL :TYPE-RESTRICTIONS NIL :L..
[...]

Stas Boukarev (stassats) wrote :

In 999f96be00309bf75534a1491f8ee14b610d6e88

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