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

Unified Diff: utils/pub/yaml/visitor.dart

Issue 11783009: Big merge from experimental to bleeding edge. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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 | « utils/pub/yaml/parser.dart ('k') | utils/pub/yaml/yaml.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/pub/yaml/visitor.dart
diff --git a/utils/pub/yaml/visitor.dart b/utils/pub/yaml/visitor.dart
index 1d6282ae9c638713312659dc295f3c328ef0337c..b5c14c9490d073a08556763e591c0d8294eac4ec 100644
--- a/utils/pub/yaml/visitor.dart
+++ b/utils/pub/yaml/visitor.dart
@@ -13,7 +13,8 @@ class _Visitor {
visitScalar(_ScalarNode scalar) => scalar;
/// Visits each node in [seq] and returns a list of the results.
- visitSequence(_SequenceNode seq) => seq.content.map((e) => e.visit(this));
+ visitSequence(_SequenceNode seq)
+ => seq.content.mappedBy((e) => e.visit(this)).toList();
/// Visits each key and value in [map] and returns a map of the results.
visitMapping(_MappingNode map) {
« no previous file with comments | « utils/pub/yaml/parser.dart ('k') | utils/pub/yaml/yaml.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698