defmethod multiple specializers with one argument
Bug #525916 reported by
Reinout Stevens
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When defining a method and you try to have more then 1 typespecializer SBCL does not complain. It does complain when trying to execute that method
(defclass animal ()
())
(defclass person ()
())
(defmethod foo ((arg animal person))
arg) ;;this works and does not give an error/warning
(foo (make-instance 'person)) ;;doesnt work, no applicable method
version:
SBCL 1.0.29.11.debian and
SBCL 1.0.31 and
SBCL 1.0.34
uname -a:
Linux sch281 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 16:20:31 UTC 2009 i686 GNU/Linux for version .29
FreeBSD 8.0-RC2 FreeBSD 8.0-RC2 #0: Sun Oct 25 08:55:51 UTC 2009 <email address hidden>
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Thanks for the report; fixed in 1.0.35.20.