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

Unified Diff: samples/third_party/dromaeo/Suites.dart

Issue 11412086: Make 'where' lazy. (Closed) Base URL: https://dart.googlecode.com/svn/experimental/lib_v2/dart
Patch Set: FilteredIterable/Iterator -> WhereIterable/Iterator. 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: samples/third_party/dromaeo/Suites.dart
diff --git a/samples/third_party/dromaeo/Suites.dart b/samples/third_party/dromaeo/Suites.dart
index 82177ab688b73e2e1ac39bc4db738208d01c6f21..7e6ad08d8df2d0cc8a86e84a1e0c358180df421d 100644
--- a/samples/third_party/dromaeo/Suites.dart
+++ b/samples/third_party/dromaeo/Suites.dart
@@ -147,7 +147,7 @@ class Suites {
}
return false;
}
- final suites = SUITE_DESCRIPTIONS.where(match);
+ final suites = SUITE_DESCRIPTIONS.where(match).toList();
suites.sort((s1, s2) => s1.name.compareTo(s2.name));
return suites;

Powered by Google App Engine
This is Rietveld 408576698