sb-ext:muffle-conditions declaration does not affect declaim ftype
Bug #2093213 reported by
Andrew Kravchuk
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
New
|
Undecided
|
Unassigned |
Bug Description
Consider the following code:
(declaim (sb-ext:
(declaim (ftype (function (t)) ttt))
(declaim (ftype (function (fixnum)) ttt))
I'd expect the first declaration to silence warnings from the rest, but both running the code in REPL and calling COMPILE-FILE on the file containing it produces the warning
; caught STYLE-WARNING:
; The new FTYPE proclamation for COMMON-
; (FUNCTION (FIXNUM))
; does not match the old FTYPE proclamation
; (FUNCTION (T) *)
Is it something I'm missing regarding sb-ext:
I'm using SBCL 2.5.0 on Linux.
To post a comment you must log in.
muffle-conditions is compile-time only.