Index: sdk/lib/_internal/compiler/implementation/util/link.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/util/link.dart b/sdk/lib/_internal/compiler/implementation/util/link.dart |
index 07681c41ead549b69bc6f57591800198d78ba473..c50a3c671cc43b043db117df56848032e48a35c8 100644 |
--- a/sdk/lib/_internal/compiler/implementation/util/link.dart |
+++ b/sdk/lib/_internal/compiler/implementation/util/link.dart |
@@ -4,7 +4,7 @@ |
part of org_dartlang_compiler_util; |
-class Link<T> implements Iterable<T> { |
+class Link<T> extends Iterable<T> { |
T get head => null; |
Link<T> get tail => null; |
@@ -33,12 +33,12 @@ class Link<T> implements Iterable<T> { |
return new LinkEntry<T>(element, this); |
} |
- Iterator<T> iterator() => new LinkIterator<T>(this); |
+ Iterator<T> get iterator => new LinkIterator<T>(this); |
void printOn(StringBuffer buffer, [separatedBy]) { |
} |
- List toList() => new List<T>(0); |
+ List toList() => new List<T>.fixedLength(0); |
bool get isEmpty => true; |