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

Unified Diff: lib/core/object.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/core/object.dart
diff --git a/lib/core/object.dart b/lib/core/object.dart
index 30de4dfdbc2adebb3b5ddd62adeef6ffd5287566..ba41cb81840162b11f00a9e5fbd31f20c63a0c9f 100644
--- a/lib/core/object.dart
+++ b/lib/core/object.dart
@@ -38,7 +38,7 @@ class Object {
* If a subclass overrides [hashCode] it should override the
* equality operator as well to maintain consistency.
*/
- external int hashCode();
+ external int get hashCode;
/**
* Returns a string representation of this object.
« no previous file with comments | « lib/core/hashable.dart ('k') | lib/coreimpl/date.dart » ('j') | tests/co19/co19-dart2js.status » ('J')

Powered by Google App Engine
This is Rietveld 408576698