(find-method #'print-object '() (list (list (find-class t)) (list (find-class t)))) does not signal an error
Bug #1808681 reported by
Michał "phoe" Herda
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Low
|
Unassigned |
Bug Description
(defvar *bad-specializers* (list (list (find-class t)) (list (find-class t))))
The value of *BAD-SPECIALIZERS* is a list of lists of specializers, not a list of specializers. I expected FIND-METHOD to signal an error when given that value as its specializer argument, but it instead returned a method.
(find-method #'print-object '() *bad-specializers*)
;=> #<STANDARD-METHOD COMMON-
CLHS FIND-METHOD, http://
"The specializers argument contains the parameter specializers for the method."
Changed in sbcl: | |
importance: | Undecided → Low |
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
In 052b6abc60d2f2c 3b65a30dcfb1ee1 7c06d70e4b