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

Unified Diff: sdk/lib/core/date_time.dart

Issue 12255055: Make Comparable generic. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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
« no previous file with comments | « sdk/lib/core/comparable.dart ('k') | sdk/lib/core/num.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/core/date_time.dart
diff --git a/sdk/lib/core/date_time.dart b/sdk/lib/core/date_time.dart
index b57b63024b339c5138397e0160272fe777e1f07e..38d179eadbfc2a7efc5c522e70fd473a0895c300 100644
--- a/sdk/lib/core/date_time.dart
+++ b/sdk/lib/core/date_time.dart
@@ -8,7 +8,7 @@ part of dart.core;
* Deprecated class. Please use [DateTime] instead.
*/
@deprecated
-abstract class Date implements Comparable {
+abstract class Date implements Comparable<Date> {
// Weekday constants that are returned by [weekday] method:
static const int MON = 1;
static const int TUE = 2;
« no previous file with comments | « sdk/lib/core/comparable.dart ('k') | sdk/lib/core/num.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698