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

Unified Diff: sdk/lib/utf/utf8.dart

Issue 11363252: Extend Iterable instead of implementing it. (Closed) Base URL: https://dart.googlecode.com/svn/experimental/lib_v2/dart
Patch Set: Fix bad copy/paste. Created 8 years, 1 month 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: sdk/lib/utf/utf8.dart
diff --git a/sdk/lib/utf/utf8.dart b/sdk/lib/utf/utf8.dart
index 48933af99f435572079a9a0a79e49397b5111d69..f9ef9fbe969f3a01beddc3534faf6dceedc1389b 100644
--- a/sdk/lib/utf/utf8.dart
+++ b/sdk/lib/utf/utf8.dart
@@ -127,7 +127,7 @@ List<int> utf8ToCodepoints(
* provides an iterator on demand and the iterator will only translate bytes
* as requested by the user of the iterator. (Note: results are not cached.)
*/
-class IterableUtf8Decoder implements Iterable<int> {
+class IterableUtf8Decoder extends Iterable<int> {
final List<int> bytes;
final int offset;
final int length;

Powered by Google App Engine
This is Rietveld 408576698