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

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

Issue 12288040: Reapply "Make Comparable generic." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix problems. 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/num.dart ('k') | utils/css/source.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/core/string.dart
diff --git a/sdk/lib/core/string.dart b/sdk/lib/core/string.dart
index 4e5b95021a64cc00acfcd54e1b87c8d0acf8c26e..ba07bae5264714c7523b8d493fe224d0023e7ee3 100644
--- a/sdk/lib/core/string.dart
+++ b/sdk/lib/core/string.dart
@@ -17,7 +17,7 @@ part of dart.core;
* Unicode code point. The runes of a string are accessible through the [runes]
* getter.
*/
-abstract class String implements Comparable, Pattern {
+abstract class String implements Comparable<String>, Pattern {
/**
* Allocates a new String for the specified [charCodes].
*
« no previous file with comments | « sdk/lib/core/num.dart ('k') | utils/css/source.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698