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

Unified Diff: runtime/lib/string_base.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: runtime/lib/string_base.dart
diff --git a/runtime/lib/string_base.dart b/runtime/lib/string_base.dart
index b593e71f6c58cb7a85095b05b240e141685a4f4a..14bd6c2dfbc37e8cc5d041866794e67bca38c6bc 100644
--- a/runtime/lib/string_base.dart
+++ b/runtime/lib/string_base.dart
@@ -13,7 +13,7 @@ class _StringBase {
"_StringBase can't be instaniated");
}
- int hashCode() native "String_hashCode";
+ int get hashCode native "String_getHashCode";
/**
* Create the most efficient string representation for specified

Powered by Google App Engine
This is Rietveld 408576698