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

Unified Diff: runtime/lib/expando_patch.dart

Issue 11412086: Make 'where' lazy. (Closed) Base URL: https://dart.googlecode.com/svn/experimental/lib_v2/dart
Patch Set: Rebase 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: runtime/lib/expando_patch.dart
diff --git a/runtime/lib/expando_patch.dart b/runtime/lib/expando_patch.dart
index cebac5e2c5999a2d181dbfe42d6ec710218765bc..4bc7463391481cee97f146bdaa0f0ed5d112c746 100644
--- a/runtime/lib/expando_patch.dart
+++ b/runtime/lib/expando_patch.dart
@@ -49,7 +49,7 @@ patch class Expando<T> {
_data.add(new _WeakProperty(object, value));
}
if (doCompact) {
- _data = _data.where((e) => (e != null));
+ _data = _data.where((e) => (e != null)).toList();
}
}

Powered by Google App Engine
This is Rietveld 408576698