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

Unified Diff: pkg/fixnum/int64.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: pkg/fixnum/int64.dart
diff --git a/pkg/fixnum/int64.dart b/pkg/fixnum/int64.dart
index c617413c4e7d212b361989ead9e1d990f49cd6c8..6dd23cc7835e15736733ce6986dc43a40ff48c5e 100644
--- a/pkg/fixnum/int64.dart
+++ b/pkg/fixnum/int64.dart
@@ -571,7 +571,7 @@ class int64 implements intx {
/**
* Returns a hash code based on all the bits of this [int64].
*/
- int hashCode() {
+ int get hashCode {
int bottom = ((_m & 0x3ff) << _BITS) | _l;
int top = (_h << 12) | ((_m >> 10) & 0xfff);
return bottom ^ top;
« no previous file with comments | « pkg/fixnum/int32.dart ('k') | pkg/fixnum/intx.dart » ('j') | tests/co19/co19-dart2js.status » ('J')

Powered by Google App Engine
This is Rietveld 408576698