logo       

Re: Bogus No primary methods?: msg#00063

lisp.corman

Subject: Re: Bogus No primary methods?

Frode Vatvedt Fjeld <lisp-cormanlisp@xxxxxxxxxxx> writes:

> Kenny Tilton <ktilton@xxxxxxxxxx> 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:
cormanlisp-unsubscribe@xxxxxxxxxxxxxxx



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise