[squeak-dev] Message>>#= & Message>>#hash
David T. Lewis
lewis at mail.msen.com
Mon Nov 19 17:51:17 UTC 2018
On Mon, Nov 19, 2018 at 09:32:17AM -0800, Eliot Miranda wrote:
> Hi All,
>
> In VisualWorks Message implements #= & #hash naturally; two messages
> whose selectors and arguments are #= are also equal. But in Cuis, Squeak
> and Pharo Message inherits #= and #hash from Object, i.e. uses identity
> comparison. This is, to say the least, annoying. Any objections to
> implementing comparing in Message to match VisualWorks?
>
That sounds like an obviously good thing to do :-)
Is the lookkupClass instance variable relevant for comparisons? I am
guessing not, since we already have #analogousCodeTo: for that type of
comparison.
Dave
More information about the Squeak-dev
mailing list
|