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

Unified Diff: sdk/lib/html/templates/immutable_list_mixin.darttemplate

Issue 11414069: Make mappedBy lazy. (Closed) Base URL: https://dart.googlecode.com/svn/experimental/lib_v2/dart
Patch Set: Reupload due to error. 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: sdk/lib/html/templates/immutable_list_mixin.darttemplate
diff --git a/sdk/lib/html/templates/immutable_list_mixin.darttemplate b/sdk/lib/html/templates/immutable_list_mixin.darttemplate
index 5850771b7ca63da4ff24261507f78fd8308db2cd..89b4599d4e50cd8591d072fc618c08422adc283a 100644
--- a/sdk/lib/html/templates/immutable_list_mixin.darttemplate
+++ b/sdk/lib/html/templates/immutable_list_mixin.darttemplate
@@ -32,7 +32,8 @@ $endif
void forEach(void f($E element)) => _Collections.forEach(this, f);
- Collection mappedBy(f($E element)) => _Collections.mappedBy(this, [], f);
+ Iterable mappedBy(f($E element)) =>
+ new MappedIterable<$E, dynamic>(this, f);
Collection<$E> where(bool f($E element)) =>
_Collections.where(this, <$E>[], f);

Powered by Google App Engine
This is Rietveld 408576698