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

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

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: samples/third_party/dromaeo/Suites.dart
diff --git a/samples/third_party/dromaeo/Suites.dart b/samples/third_party/dromaeo/Suites.dart
index 99302f08ccac92aca5cc3f176b7d222eb7176a13..82177ab688b73e2e1ac39bc4db738208d01c6f21 100644
--- a/samples/third_party/dromaeo/Suites.dart
+++ b/samples/third_party/dromaeo/Suites.dart
@@ -136,7 +136,7 @@ class Suites {
tags = tags.replaceAll('OR', '|').replaceAll('AND', '&');
// A disjunction of conjunctions (e.g.,
// 'js&modify|dart&dom&modify').
- final taglist = tags.split('|').mappedBy((tag) => tag.split('&'));
+ final taglist = tags.split('|').mappedBy((tag) => tag.split('&')).toList();
bool match(suite) {
// If any conjunction matches, return true.

Powered by Google App Engine
This is Rietveld 408576698