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

Unified Diff: sdk/lib/collection_dev/list.dart

Issue 12047051: Fix typos. (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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/collection_dev/list.dart
diff --git a/sdk/lib/collection_dev/list.dart b/sdk/lib/collection_dev/list.dart
index cddc75a762baf32e1a11c10c169e6481cf8cb964..abd6f82e3d7b82960c0c63f38d61af2dfcbb6c5e 100644
--- a/sdk/lib/collection_dev/list.dart
+++ b/sdk/lib/collection_dev/list.dart
@@ -489,7 +489,7 @@ class ReversedListView<E> extends SubListView<E> {
return _createReversedListView(newStart, _end);
}
- Iterable<E> get iterator => new ReverseListIterator<E>(
+ Iterator<E> get iterator => new ReverseListIterator<E>(
_list, _absoluteIndex(_start), _absoluteIndex(_end));
List<E> get reversed {
@@ -514,7 +514,7 @@ class ReverseListIterator<E> implements Iterator<E> {
_originalLength = list.length;
bool moveNext() {
- if (list.length != _originalLength) {
+ if (_list.length != _originalLength) {
throw new ConcurrentModificationError(list);
}
if (_index <= _start) return false;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698