[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tracing generic functions



Does the CLOS spec say anything about what should happen when you trace a
generic function?  I notice that in the AAAI PCL (Lucid) the following
doesn't work:

> (trace no-applicable-method)
(NO-APPLICABLE-METHOD)
> (generic-function-methods #'no-applicable-method)

>>Error: No matching method for the generic-function
#<Compiled-Function GENERIC-FUNCTION-METHODS 5EDD4F>,
when called with arguments (#<Compiled-Function (:ADVICE
NO-APPLICABLE-METHOD :TRACE) 6FEE57>).

NOTICE-METHODS-CHANGE-2:
   Required arg 0 (GENERIC-FUNCTION): #<Compiled-Function
NO-APPLICABLE-METHOD 6016B7>
   Required arg 1 (ARGS): (#<Compiled-Function GENERIC-FUNCTION-METHODS
5EDD4F> #<Compiled-Function (:ADVICE NO-APPLICABLE-METHOD :TRACE) 6FEE57>)

:A    Abort to Lisp Top Level
-> 

Sorry if this is in the spec and I missed it.

Warren