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

Unified Diff: runtime/bin/path_impl.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/bin/path_impl.dart
diff --git a/runtime/bin/path_impl.dart b/runtime/bin/path_impl.dart
index b05084ce2f3c0b6ae04530a68c1b9fb6e8ae24f8..8c7386019506f39505bef4d58c28362486e86331 100644
--- a/runtime/bin/path_impl.dart
+++ b/runtime/bin/path_impl.dart
@@ -8,7 +8,7 @@ class _Path implements Path {
_Path(String source) : _path = source;
_Path.fromNative(String source) : _path = _clean(source);
- int hashCode() => _path.hashCode();
+ int get hashCode => _path.hashCode;
static String _clean(String source) {
switch (Platform.operatingSystem) {

Powered by Google App Engine
This is Rietveld 408576698