[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Compute-applicable-methods not working properly in Victoria Day PCL
- To: CommonLoops.PA@Xerox.COM
- Subject: Compute-applicable-methods not working properly in Victoria Day PCL
- From: Darrell <shane%blackcomb@rand.org>
- Date: Tue, 11 Jul 89 15:52:18 PDT
- Cc: David_McArthur <dave@rand.org>, Darrell_Shane <shane@rand.org>
- Redistributed: CommonLoops.PA
(defmethod foo ((sym (eql 'A)))
(format t "Main foo method.~%"))
(defmethod foo :around ((sym (eql 'A)))
(call-next-method)
(format t "Around foo method.~%"))
(defmethod foo :before ((sym (eql 'A)))
(format t "Before foo method.~%"))
(defmethod foo :after ((sym (eql 'A)))
(format t "After foo method.~%"))
(compute-applicable-methods #'foo (list 'A)) -->
(#<Standard-Method FOO ((EQL A)) 34077671>)
Which is not the complete set of applicable methods. Also, I believe
this is reason why PCL doesn't recognize initialization arguments that
are arguments to method(s).
Darrell Shane