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

Unified Diff: tools/dom/templates/immutable_list_mixin.darttemplate

Issue 12090093: Reapply "Rename mappedBy to map." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixed bug in previous commit. 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 | « tools/dom/templates/html/impl/impl_Node.darttemplate ('k') | utils/pub/command_lish.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/templates/immutable_list_mixin.darttemplate
diff --git a/tools/dom/templates/immutable_list_mixin.darttemplate b/tools/dom/templates/immutable_list_mixin.darttemplate
index 00709742ae4e60ec76d76ee6b20efbb6c494cb8f..58cf40c713527f03ed704527d0421558405510f4 100644
--- a/tools/dom/templates/immutable_list_mixin.darttemplate
+++ b/tools/dom/templates/immutable_list_mixin.darttemplate
@@ -29,7 +29,11 @@ $endif
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- List mappedBy(f($E element)) => IterableMixinWorkaround.mappedByList(this, f);
+ Iterable map(f($E element)) =>
+ IterableMixinWorkaround.map(this, f);
+
+ List mappedBy(f($E element)) =>
+ IterableMixinWorkaround.mappedByList(this, f);
Iterable<$E> where(bool f($E element)) =>
IterableMixinWorkaround.where(this, f);
@@ -43,13 +47,13 @@ $endif
bool get isEmpty => this.length == 0;
- List<$E> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ Iterable<$E> take(int n) => IterableMixinWorkaround.takeList(this, n);
Iterable<$E> takeWhile(bool test($E value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- List<$E> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ Iterable<$E> skip(int n) => IterableMixinWorkaround.skipList(this, n);
Iterable<$E> skipWhile(bool test($E value)) {
return IterableMixinWorkaround.skipWhile(this, test);
« no previous file with comments | « tools/dom/templates/html/impl/impl_Node.darttemplate ('k') | utils/pub/command_lish.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698