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

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

Issue 11410086: Use iterator, moveNext(), current. (Closed) Base URL: https://dart.googlecode.com/svn/experimental/lib_v2/dart
Patch Set: Address 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: 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 8ac2ea3a70763dfa137df9126ce3c2b3b78a2847..0329e9c92e024585f1f71a5fe270828f3c90d206 100644
--- a/sdk/lib/_internal/compiler/implementation/util/link.dart
+++ b/sdk/lib/_internal/compiler/implementation/util/link.dart
@@ -34,7 +34,7 @@ class Link<T> extends 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]) {
}

Powered by Google App Engine
This is Rietveld 408576698