Index: lib/core/hashable.dart |
diff --git a/lib/core/hashable.dart b/lib/core/hashable.dart |
index 62983a2ada660195ae324c59d42812a774d7cc3d..f9f35ff6fbe7fe4363d9c862238acafde51fadc6 100644 |
--- a/lib/core/hashable.dart |
+++ b/lib/core/hashable.dart |
@@ -4,6 +4,14 @@ |
// 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 |
+ * remove it, or use [:Object:] instead if a type is necessary. |
+ */ |
abstract class Hashable { |
+ // TODO(lrn): http://darbug.com/5522 |
abstract int hashCode(); |
} |