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

Unified Diff: frog/member.dart

Issue 8548019: Add a script for determining which DOM methods correspond to which HTML methods. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 1 month 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
« no previous file with comments | « client/html/src/_FactoryProviders.dart ('k') | utils/dartdoc/dartdoc.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/member.dart
diff --git a/frog/member.dart b/frog/member.dart
index 12d45a9b49890c5e8ebc5a1fd12fc38055a10871..212ca787f6669b706da1d53359de589ec5071568 100644
--- a/frog/member.dart
+++ b/frog/member.dart
@@ -210,6 +210,8 @@ class Member implements Named {
}
return type;
}
+
+ int hashCode() => '${declaringType.hashCode()}:$name'.hashCode();
Jennifer Messerly 2011/11/18 22:41:16 Normally I'd do this with something like: int hash
nweiz 2011/11/18 22:48:56 I don't love the magic 4 there, but I don't love m
}
« no previous file with comments | « client/html/src/_FactoryProviders.dart ('k') | utils/dartdoc/dartdoc.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698