Error with Toml library
lefessan opened this issue · comments
@zapashcanon There is a problem everytime the package.toml
file is saved, a newline is added to every multi-line string field starting with """.
See https://github.com/OCamlPro/freeton-ocaml-sdk/blob/e647f5740ac995ba92a844280fcb8f5ba8cba57f/src/ft_lib/package.toml#L58 for example.
This problem was not there before the last change in the Toml library.
@lefessan can you test with the master branch of toml ? IIRC the problem was in the code you wrote for the multi-line support and I fixed it in this commit. If you can confirm this is fixed, I'll do a new release of toml.
I am quite busy at the time. Since you have access to both source codes, it will be faster if you can test it directly.