Re: Bogus No primary methods?
Christophe Rhodes <[email protected]>
| Newsgroups | gmane.lisp.corman |
|---|---|
| Organization | Jesus College, Cambridge |
| Message-ID | <[email protected]> |
Frode Vatvedt Fjeld <[email protected]> writes: > Kenny Tilton <[email protected]> writes: > >>> (cells::cv-test) >>> ;;; An error occurred in function STD-COMPUTE-EFFECTIVE-METHOD-FUNCTION: >>> ;;; Error: No primary methods for the generic function >>> #<Standard-Generic-Function CELLS::C-AWAKEN #x1CB7D68>. > > I think this is really a malreported no-applicable-method error. Are > you sure there is a method that matches the arguments? I'm late to this discussion, but an :AROUND method is not a primary method as defined by CLOS. So (defmethod foo :around ((x integer)) x) followed by (foo 1) can't go through NO-APPLICABLE-METHOD, because there _is_ an applicable method; there is no primary method, though, so there should be an error of some kind. Maybe this was the situation in question? Cheers, Christophe -- http://www-jcsu.jesus.cam.ac.uk/~csr21/ +44 1223 510 299/+44 7729 383 757 (set-pprint-dispatch 'number (lambda (s o) (declare (special b)) (format s b))) (defvar b "~&Just another Lisp hacker~%") (pprint #36rJesusCollegeCambridge) ------------------------ Yahoo! Groups Sponsor ---------------------~--> Get 128 Bit SSL Encryption! http://us.click.yahoo.com/xaxhjB/hdqFAA/xGHJAA/SyjtlB/TM ---------------------------------------------------------------------~-> To unsubscribe from this group, send an email to: [email protected] Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/