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

Unified Diff: tests/compiler/dart2js_extra/for_in_test.dart

Issue 11363252: Extend Iterable instead of implementing it. (Closed) Base URL: https://dart.googlecode.com/svn/experimental/lib_v2/dart
Patch Set: Address Stephen's comments. 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: tests/compiler/dart2js_extra/for_in_test.dart
diff --git a/tests/compiler/dart2js_extra/for_in_test.dart b/tests/compiler/dart2js_extra/for_in_test.dart
index d2f76ea94f79682a54c13e3b3ffc6396b669e312..5eeea84ca7fcd59c89f2ec2750e9d0a21592ff5d 100644
--- a/tests/compiler/dart2js_extra/for_in_test.dart
+++ b/tests/compiler/dart2js_extra/for_in_test.dart
@@ -23,7 +23,7 @@ testIterator(List expect, Iterable input) {
Expect.equals(expect.length, i);
}
-class MyIterable<T> implements Iterable<T> {
+class MyIterable<T> extends Iterable<T> {
final List<T> values;
MyIterable(List<T> values) : this.values = values;
Iterator iterator() {

Powered by Google App Engine
This is Rietveld 408576698