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

Unified Diff: sdk/lib/_internal/compiler/implementation/util/link.dart

Issue 11783009: Big merge from experimental to bleeding edge. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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
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;

Powered by Google App Engine
This is Rietveld 408576698