Chromium Code Reviews| Index: corelib/src/comparable.dart |
| =================================================================== |
| --- corelib/src/comparable.dart (revision 11192) |
| +++ corelib/src/comparable.dart (working copy) |
| @@ -4,6 +4,7 @@ |
| // Dart core library. |
| -interface Comparable { |
| - int compareTo(Comparable other); |
| +abstract class Comparable { |
| + factory Comparable._unistantiable() => null; |
|
regis
2012/08/23 03:53:10
s/_unistantiable/_uninstantiable/
Ivan Posva
2012/08/23 06:13:44
Can you make these throw exceptions instead to ens
hausner
2012/08/23 18:34:10
Done.
hausner
2012/08/23 18:34:10
Done.
|
| + abstract int compareTo(Comparable other); |
| } |