[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
call-next-method and arguments to :before and :after methods
It's true that when call-next-method was given the ability to change
the arguments, not all of the places in the CLOS specification that
should have been updated were. Thus some pages don't discuss what
happens in this case. Page 2-11 of 88-002R (describing call-method)
ought to make it clear that when an invocation of call-method is
nested inside an invocation of make-method, the arguments passed
along by call-method are the arguments that were supplied to the
make-method, not the arguments supplied to the original generic
function call. Thus call-next-method in a :around method can
alter the arguments seen by :before and :after methods.
I'll send something about this to the Cleanup committee, after
waiting a few days for comments.