[squeak-dev] The Inbox: Chronology-Core-cmm.14.mcz

Chris Muller asqueaker at gmail.com
Thu Oct 18 19:46:31 UTC 2018


Hi Chris,

> 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.

Best,
   Chris


More information about the Squeak-dev mailing list