You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think that it's not really a bug but I have pushed a fix ffcc734 to mitigate it.
The problem is that TOML is not a roundtrip-able serialization format. There will be other cases like this.
If you need to be roundtrip-able, it would require to use only the Syntax tree but not the model tree (that doesn't know/store any information about the way things should be serialized back).
The following TOML file:
When run through the functions Toml.ToModel & Toml.FromModel as follows:
Results in the following output:
I believe this may be a bug, as it appears that the serialization code otherwise prefers to use the non-inline style wherever possible.
The text was updated successfully, but these errors were encountered: