| Index: runtime/lib/date.dart
|
| diff --git a/runtime/lib/date.dart b/runtime/lib/date.dart
|
| index 6b89dfd70d5d329a8324cc258ea7e6c3e03a0abd..bdbffc3104cbb5dfa6603aab75156da2500ffb7b 100644
|
| --- a/runtime/lib/date.dart
|
| +++ b/runtime/lib/date.dart
|
| @@ -122,9 +122,8 @@ class DateImplementation implements Date {
|
| return value == other.value && timeZone == other.timeZone;
|
| }
|
|
|
| - int compareTo(Date other) {
|
| - return value.compareTo(other.value);
|
| - }
|
| + int compareTo(Date other) => value.compareTo(other.value);
|
| + int hashCode() => value;
|
|
|
| Date changeTimeZone(TimeZone targetTimeZone) {
|
| if (targetTimeZone === null) {
|
|
|