[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: defmethod does not eval eql-specializer-forms
- To: IDH@AI.AI.MIT.EDU
- Subject: Re: defmethod does not eval eql-specializer-forms
- From: IIM@ECLA.USC.EDU
- Date: Thu, 14 Jul 88 15:00:28 PDT
- Cc: IIM@ECLA.USC.EDU, CommonLoops.pa@Xerox.COM
- In-reply-to: <410986.880712.IDH@AI.AI.MIT.EDU>
- Redistributed: CommonLoops.pa
Actually, the problem with EQL specifiers not being evaluated seems to have
been introduced in the St. Patricks day release. There was a change in how the
specializers argument to load-defmethod was being generated between the
Valentines and St. Patricks day releases that broke things. Since I don't have
my sources handy right now I can't give you a precise fix, but roughly:
(defmethod foo ((a (eql 'x))) ...)
Valentines day release, expands to
(load-defmethod ...args...
(list (list 'eql 'x)) ;specializers
...more args...)
St. Patricks day release, expands to
(load-defmethod ...args...
'((eql 'x)) ;specializers
...more args...)
kab
-------