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

Unified Diff: lib/core/hashable.dart

Issue 10993059: Stop using the Hashable interface. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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/hashable.dart
diff --git a/lib/core/hashable.dart b/lib/core/hashable.dart
index 62983a2ada660195ae324c59d42812a774d7cc3d..f9be46c8508f0bcc5dd383c377095f556abafb05 100644
--- a/lib/core/hashable.dart
+++ b/lib/core/hashable.dart
@@ -4,6 +4,13 @@
// Dart core library.
+/**
+ * Temporary interface for backwards compatibility.
+ *
+ * All objects now have a [hashCode] method. This interface will be removed
+ * after a grace period. Code that use the [:Hashable:] interface should just
Mads Ager (google) 2012/09/27 12:48:27 that uses should just -> should I assume you are
Lasse Reichstein Nielsen 2012/09/27 13:59:36 Absolutely.
+ * remove it, or use [:Object:] instead if a type is necessary.
+ */
abstract class Hashable {
abstract int hashCode();
}

Powered by Google App Engine
This is Rietveld 408576698