Uncaught compiler error in sb-c::%constantp processing in COERCE

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

Bug Description

(compile nil '(lambda () (coerce 'integer (restart-bind foo))))

==>

The value
  FOO
is not of type
  LIST

sb-c::%constantp attempts to macroexpand (restart-bind foo), which is malformed.

Revision history for this message
Paul F. Dietz (paul-f-dietz) wrote :

That test is slightly confusing because the type is the second argument.

(compile nil '(lambda () (coerce 0 (restart-bind foo))))

also fails the same way.

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

In 30544cf67f92c08afc536c1562d138af67bee217

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.