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

Unified Diff: utils/pub/yaml/yaml.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/visitor.dart ('k') | utils/pub/yaml/yaml_map.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/pub/yaml/yaml.dart
diff --git a/utils/pub/yaml/yaml.dart b/utils/pub/yaml/yaml.dart
index 11984c34d5fe298ea1a375c1f40eabbb5fa90877..6ce890ccf95920b5789e68430d36e484df091af2 100644
--- a/utils/pub/yaml/yaml.dart
+++ b/utils/pub/yaml/yaml.dart
@@ -39,8 +39,9 @@ loadYaml(String yaml) {
/// are YamlMaps. These have a few small behavioral differences from the default
/// Map implementation; for details, see the YamlMap class.
List loadYamlStream(String yaml) {
- return new _Parser(yaml).l_yamlStream().map((doc) =>
- new _Constructor(new _Composer(doc).compose()).construct());
+ return new _Parser(yaml).l_yamlStream().mappedBy((doc) =>
+ new _Constructor(new _Composer(doc).compose()).construct())
+ .toList();
}
/// An error thrown by the YAML processor.
« no previous file with comments | « utils/pub/yaml/visitor.dart ('k') | utils/pub/yaml/yaml_map.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698