Uncaught compiler error for FTYPE with invalid function name

Bug #1740786 reported by Paul F. Dietz on 2018-01-01
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
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) on 2018-01-01
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  Edit
Everyone can see this information.

Other bug subscribers