Chromium Code Reviews| Index: corelib/src/hashable.dart |
| =================================================================== |
| --- corelib/src/hashable.dart (revision 11192) |
| +++ corelib/src/hashable.dart (working copy) |
| @@ -4,6 +4,7 @@ |
| // Dart core library. |
| -interface Hashable { |
| - int hashCode(); |
| +abstract class Hashable { |
| + factory Hashable._uninstantiable() => null; |
|
Ivan Posva
2012/08/23 06:13:44
ditto. Like in Function.
hausner
2012/08/23 18:34:10
Done.
|
| + abstract int hashCode(); |
| } |