Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(575)

Unified Diff: lib/coreimpl/date.dart

Issue 11191078: Make hashCode a getter and not a method. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update status file with co19 issue number. Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: lib/coreimpl/date.dart
diff --git a/lib/coreimpl/date.dart b/lib/coreimpl/date.dart
index 6aba63f61b6a63fa450d190838d393285a791c0b..afc82935b63be0ec9257d569b89123a71a42d802 100644
--- a/lib/coreimpl/date.dart
+++ b/lib/coreimpl/date.dart
@@ -90,7 +90,7 @@ class DateImplementation implements Date {
int compareTo(Date other)
=> millisecondsSinceEpoch.compareTo(other.millisecondsSinceEpoch);
- int hashCode() => millisecondsSinceEpoch;
+ int get hashCode => millisecondsSinceEpoch;
Date toLocal() {
if (isUtc) {

Powered by Google App Engine
This is Rietveld 408576698