[Openmcl-devel] apparent bug in FIND-METHOD with EQL specializers

Eric Marsden eric.marsden at free.fr
Wed Nov 1 14:17:11 PST 2006


The following transcript illustrates what I believe is a bug in
FIND-METHOD when using EQL specializers. The dispatch code seems to
work; (foo :foo) returns the expected result.

| Welcome to OpenMCL Version 1.1-pre-060720 (Beta: LinuxX8664)!
| ? (defgeneric foo (a))
| ? (defmethod foo ((a (eql :foo))) 42)
| ? (find-method #'foo nil '((eql :foo)))
| > Error: #<STANDARD-GENERIC-FUNCTION FOO #x300004BF854F> has no method for NIL ((EQL :FOO))
| > While executing: #<CCL::STANDARD-KERNEL-METHOD FIND-METHOD (STANDARD-GENERIC-FUNCTION T T)>, in process listener(1).

Eric Marsden

More information about the Openmcl-devel mailing list