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: tools/testing/dart/vendored_pkg/args/args.dart

Issue 12537009: Rename XMatching to XWhere. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merge and rebuild dom libraries. Created 7 years, 9 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/immutable_list_mixin.darttemplate ('k') | utils/apidoc/lib/metadata.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/vendored_pkg/args/args.dart
diff --git a/tools/testing/dart/vendored_pkg/args/args.dart b/tools/testing/dart/vendored_pkg/args/args.dart
index 29da1e262b840885b6d87c41474eec6aa6f0d418..32793ddfc45be591c3383322dfcbbf1f2230ba39 100644
--- a/tools/testing/dart/vendored_pkg/args/args.dart
+++ b/tools/testing/dart/vendored_pkg/args/args.dart
@@ -331,7 +331,7 @@ class ArgParser {
* that abbreviation.
*/
Option findByAbbreviation(String abbr) {
- return options.values.firstMatching((option) => option.abbreviation == abbr,
+ return options.values.firstWhere((option) => option.abbreviation == abbr,
orElse: () => null);
}
}
« no previous file with comments | « tools/dom/templates/immutable_list_mixin.darttemplate ('k') | utils/apidoc/lib/metadata.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698