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

Unified Diff: corelib/src/hashable.dart

Issue 10832401: Gentle start with removing explicit interfaces (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 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: 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();
}

Powered by Google App Engine
This is Rietveld 408576698