Index: tests/language/factory2_test.dart |
diff --git a/tests/language/factory2_test.dart b/tests/language/factory2_test.dart |
index 80c0cc03c8d453a94ee5018807966a0a44425545..882ec7b303f391d4472622c47f6f0bbc74d67592 100644 |
--- a/tests/language/factory2_test.dart |
+++ b/tests/language/factory2_test.dart |
@@ -2,7 +2,9 @@ |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
-abstract class Link<T> extends Iterable<T> { |
+import "dart:collection"; |
+ |
+abstract class Link<T> extends IterableBase<T> { |
// does not match constructor for LinkFactory |
factory Link(T head, [Link<T> tail]) = LinkFactory<T>; /// static type warning |
Link<T> prepend(T element); |