mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-01 23:30:40 -08:00
Fix the order in which methodsare invoked in a STANDARD-METHOD-COMBINATION
This commit is contained in:
parent
16f131d3ef
commit
79aa5567fa
2 changed files with 5 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue