Closed Herringway closed 5 years ago
Anchor names must not be empty strings, but for some reason this document causes dyaml to generate some empty anchor names.
auto node = Node([ Node.Pair( Node(""), Node([ Node([ Node.Pair( Node("d"), Node([ Node([ Node.Pair( Node("c"), Node("") ), Node.Pair( Node("b"), Node("") ), Node.Pair( Node(""), Node("") ) ]) ]) ), ]), Node([ Node.Pair( Node("d"), Node([ Node(""), Node(""), Node([ Node.Pair( Node("c"), Node("") ), Node.Pair( Node("b"), Node("") ), Node.Pair( Node(""), Node("") ) ]) ]) ), Node.Pair( Node("z"), Node("") ), Node.Pair( Node(""), Node("") ) ]), Node("") ]) ), Node.Pair( Node("g"), Node("") ), Node.Pair( Node("h"), Node("") ), ]); auto stream = appender!string(); dumper().dump(stream, node);
Anchor names must not be empty strings, but for some reason this document causes dyaml to generate some empty anchor names.