Uncaught compiler error for FTYPE with invalid function name

Bug #1740786 reported by Paul F. Dietz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Triaged
Low
Unassigned

Bug Description

 (lambda () (declare (ftype (function () t) (foo))))

===>

Invalid function name: (FOO)
   [Condition of type SIMPLE-TYPE-ERROR]
[...]
  0: (FBOUNDP (FOO))
  1: (SB-C::PROCESS-FTYPE-DECL (FUNCTION NIL T) #S(SB-KERNEL:LEXENV :FUNS NIL :VARS NIL :BLOCKS NIL :TAGS NIL :TYPE-RESTRICTIONS NIL :LAMBDA NIL ...) ((FOO)) NIL :COMPILE)
  2: (SB-C::PROCESS-1-DECL (FTYPE (FUNCTION NIL T) (FOO)) #S(SB-KERNEL:LEXENV :FUNS NIL :VARS NIL :BLOCKS NIL :TAGS NIL :TYPE-RESTRICTIONS NIL :LAMBDA NIL ...) NIL NIL T :COMPILE)
[...]

Stas Boukarev (stassats)
Changed in sbcl:
status: New → Triaged
importance: Undecided → Low
tags: added: malformed-source
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.