[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Compute-applicable-methods not working properly in Victoria Day
- To: yurttas@cssun.tamu.edu
 
- To: CommonLoops.PA@Xerox.COM
 
- Subject: Compute-applicable-methods not working properly in Victoria Day
 
- From: Darrell <shane%blackcomb@RAND.ORG>
 
- Date: Wed, 12 Jul 89 07:16:45 CDT
 
- >date: Tue, 11 Jul 89 15:52:18 PDT
 
- >received: from arisia.Xerox.COM by LSR.TAMU.EDU ; 12-JUL-1989 07:23:20.85
 
- >received: from Xerox.COM by arisia.Xerox.COM with SMTP 	(5.61+/IDA-1.2.8/gandalf) id AA21774; Wed, 12 Jul 89 04:23:19 -0700
 
- >received: from Cabernet.ms by ArpaGateway.ms ; 11 JUL 89 15:56:42 PDT
 
- >received: from rand.org ([192.5.14.33]) by Xerox.COM ; 11 JUL 89 15:54:52  PDT
 
- >received: from blackcomb.rand.org by rand.org; Tue, 11 Jul 89 15:52:22 PDT
 
- >received: from localhost by blackcomb.rand.org; Tue, 11 Jul 89 15:52:19 PDT
 
- >return-path: <Owners-CommonLoops.PA@Xerox.COM>
 
- >return-path: <shane%blackcomb@rand.org>
 
- Cc: David_McArthur <dave@RAND.ORG>, Darrell_Shane <shane@RAND.ORG>
 
- Redistributed: CommonLoops.PA
 
- Redistributed: CommonLoops.PA
 
- Sender: "LSR::Darrell"@venus.tamu.edu
 
(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