Index: pkg/yaml/lib/yaml.dart |
diff --git a/pkg/yaml/lib/yaml.dart b/pkg/yaml/lib/yaml.dart |
index ef0ac830b640035a5e72f7a8d980d7e5fdbe9e9a..187b57eedc62496288d7319104ea6455a59adaeb 100644 |
--- a/pkg/yaml/lib/yaml.dart |
+++ b/pkg/yaml/lib/yaml.dart |
@@ -60,7 +60,7 @@ 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().mappedBy((doc) => |
+ return new _Parser(yaml).l_yamlStream().map((doc) => |
floitsch
2013/01/30 14:48:44
not your code, and really a nit, but I would prefe
Lasse Reichstein Nielsen
2013/01/31 11:33:49
Done.
|
new _Constructor(new _Composer(doc).compose()).construct()) |
.toList(); |
} |