wanted: style-warning about the undefined predicate in SATISFIES
Bug #576608 reported by
Roman Marynchak
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
In SBCL 1.0.38, this code
(defun p(s)
(declare ((satisfies even) s))
(+ s 2))
compiles silently and then fails to execute, because there is a typo in EVENP in this example:
debugger invoked on a UNDEFINED-FUNCTION in thread #<THREAD
The function EVEN is undefined.
It would be nice to have a style-warning, like here:
(defun d(i) (even i))
; in: LAMBDA NIL
; (EVEN I)
;
; caught STYLE-WARNING:
; undefined function: EVEN
;
; compilation unit finished
; Undefined function:
; EVEN
; caught 1 STYLE-WARNING condition
Regards,
Roman
Changed in sbcl: | |
importance: | Undecided → Low |
status: | New → Triaged |
importance: | Low → Wishlist |
To post a comment you must log in.