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(); |
} |