Fix the order in which methodsare invoked in a STANDARD-METHOD-COMBINATION

This commit is contained in:
jjgarcia 2005-01-12 13:29:02 +00:00
parent 16f131d3ef
commit 79aa5567fa
2 changed files with 5 additions and 2 deletions

View file

@ -206,6 +206,9 @@ ECL 1.0
- The value of the INDEX variable in WITH-INPUT-FROM-STRING is only updated
when exiting normally from the WITH-... form.
- In a standard method combination, the method with qualifier :AFTER are
invoked using the least-specific-first order (ANSI 7.6.6.2)
* MOP compliance:
- ADD-METHOD is now a generic function and implements most of the protocol in

View file

@ -276,8 +276,8 @@
(return-from standard-compute-effective-method
#'(lambda (&rest args)
(apply 'no-primary-method gf args))))
(setq before (nreverse before)
after (nreverse after)
(setq before (nreverse before) ;; most-specific-first order (ANSI 7.6.6.2)
after after ;; least-specific-first order (ANSI 7.6.6.2)
primary (nreverse primary)
around (nreverse around))
(make-effective-method-function