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

Unified Diff: utils/pub/yaml/yaml.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: utils/pub/yaml/yaml.dart
diff --git a/utils/pub/yaml/yaml.dart b/utils/pub/yaml/yaml.dart
index b62d673bf9412e79a321179134bba9b080d3fc6a..cd3666f7be37d06390e39c371f0eac8e487ed568 100644
--- a/utils/pub/yaml/yaml.dart
+++ b/utils/pub/yaml/yaml.dart
@@ -44,7 +44,8 @@ loadYaml(String yaml) {
*/
List loadYamlStream(String yaml) {
return new _Parser(yaml).l_yamlStream().mappedBy((doc) =>
- new _Constructor(new _Composer(doc).compose()).construct());
+ new _Constructor(new _Composer(doc).compose()).construct())
+ .toList();
}
/** An error thrown by the YAML processor. */

Powered by Google App Engine
This is Rietveld 408576698