CLOS issues spurious warning on ignored argument
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
On recent versions of SBCL, this method causes a warning
(defmethod convert-
"Creates ic-waitlisted-
(declare (ignore all-segment-
...)
I cannot easily reduce this to a simple error case yet, or pin-point where exactly it started.
all-segment-
If these hints are not enough to guess what's happening, I can try to pin-point the error and/or to reduce the test case.
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
It appears that the inventory- action) ;; must be both types
(check-type request qapi-space-
just after that declare in the function body is somehow causing the error.
If I remove that check, the function compiles. If I add it back, it causes a REQUESTS
; caught STYLE-WARNING:
; reading an ignored variable: ALL-SEGMENT-
NB: results obtained by using the RETRY restart while I have a
(eval-when (:compile-toplevel :load-toplevel :execute) (error "foo"))
right after the function, to make sure I can error and retry even when it works.
Does this information help?