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

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

Issue 12295009: Recommit changing List.skip/take/revert returns Iterable and remove mappedBy. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Make Future.wait simpler. Created 7 years, 10 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/core/list.dart
diff --git a/sdk/lib/core/list.dart b/sdk/lib/core/list.dart
index 10ba3e054fc25864cae93e793d8731a9376c1b99..ecb5535b50e380640a36a5ca9917836c1ca02ecf 100644
--- a/sdk/lib/core/list.dart
+++ b/sdk/lib/core/list.dart
@@ -77,13 +77,9 @@ abstract class List<E> implements Collection<E> {
void addAll(Iterable<E> iterable);
/**
- * Returns a reversed fixed-length view of this [List].
- *
- * The reversed list has elements in the opposite order of this list.
- * It is backed by this list, but will stop working if this list
- * becomes shorter than its current length.
+ * Returns an [Iterable] of the elements of this [List] in reverse order.
*/
- List<E> get reversed;
+ Iterable<E> get reversed;
/**
* Sorts the list according to the order specified by the [compare] function.

Powered by Google App Engine
This is Rietveld 408576698