Closed ghost closed 7 years ago
I ran into the same thing yesterday, although using the dyaml-dlang-tour version, since this one is broken and doesn't even compile at the moment.
I think this is caused by dyaml.stream's writing buffer as ubyte[], not char[].
It seems you were correct. I created a pull request for this fix.
I tried this code in DMD 2.071.0,:
then this code dumped this.:
I think this is caused by dyaml.stream's writing buffer as ubyte[], not char[]. https://github.com/kiith-sa/D-YAML/blob/master/source/dyaml/stream.d#L64