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

Unified Diff: runtime/lib/growable_array.dart

Issue 11410086: Use iterator, moveNext(), current. (Closed) Base URL: https://dart.googlecode.com/svn/experimental/lib_v2/dart
Patch Set: 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: runtime/lib/growable_array.dart
diff --git a/runtime/lib/growable_array.dart b/runtime/lib/growable_array.dart
index a34bca0bb77eb57e0a347677e57691b7df4aa3d2..bfd1964efa517e342a9a20a770405a9599df47ef 100644
--- a/runtime/lib/growable_array.dart
+++ b/runtime/lib/growable_array.dart
@@ -215,7 +215,5 @@ class _GrowableObjectArray<T> implements List<T> {
return Collections.collectionToString(this);
}
- Iterator<T> iterator() {
- return new SequenceIterator<T>(this);
- }
+ Iterator<T> get iterator => new SequenceIterator<T>(this);
}

Powered by Google App Engine
This is Rietveld 408576698