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

Unified Diff: sdk/lib/_internal/compiler/implementation/lib/js_array.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/_internal/compiler/implementation/lib/js_array.dart
diff --git a/sdk/lib/_internal/compiler/implementation/lib/js_array.dart b/sdk/lib/_internal/compiler/implementation/lib/js_array.dart
index e33ae3f6b8eac2ebf6f8fc63d8166f8062303044..1c1e4920dbf0511057e3a10a6c2f10b06d87cfc8 100644
--- a/sdk/lib/_internal/compiler/implementation/lib/js_array.dart
+++ b/sdk/lib/_internal/compiler/implementation/lib/js_array.dart
@@ -92,10 +92,6 @@ class JSArray<E> implements List<E> {
return IterableMixinWorkaround.mapList(this, f);
}
- List mappedBy(f(E element)) {
- return IterableMixinWorkaround.mappedByList(this, f);
- }
-
String join([String separator]) {
if (separator == null) separator = "";
var list = new List(this.length);
@@ -230,7 +226,7 @@ class JSArray<E> implements List<E> {
bool every(bool f(E element)) => IterableMixinWorkaround.every(this, f);
- List<E> get reversed => IterableMixinWorkaround.reversedList(this);
+ Iterable<E> get reversed => IterableMixinWorkaround.reversedList(this);
void sort([int compare(E a, E b)]) {
checkMutable(this, 'sort');

Powered by Google App Engine
This is Rietveld 408576698