[squeak-dev] The Inbox: Chronology-Core-cmm.14.mcz
Chris Muller
asqueaker at gmail.com
Thu Oct 18 19:58:51 UTC 2018
> > True. But we were missing some tests (we should have a test the check everywhere we defined #= to validate that equal objects also have equal #hash).
> > As a consequence of that change, the following also happens:
> > dates := { Date today. DateAndTime now asDate }.
> > dates first = dates second. "=true"
> > dates asSet size. "=2"
>
> These are the correct answers. Have a look at the comment of Timespan
> class>>#defaultOffset for an explanation of this.
Sorry, ignore that. You were talking about equality vs. hashing.
More information about the Squeak-dev
mailing list
|