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
Adding the comment directly to the item also feels a lot more intuitive, so I like this more than what I was doing before.
I'm leaving this issue open because I don't know if what I was doing before is expected to work or not. If what I was doing before was user error, then please go ahead and close this.
Steps to Reproduce
In a tomlkit document, add a comment, a table, then a separate entry. Dump the document to TOML.
Expected result
bar
is outside the table.Actual result
bar
is dumped as an entry infoo
.Additional notes
This behavior only happens with the first key after the table. Subsequent entries are correctly outside the table, though after the comment.
gives
The text was updated successfully, but these errors were encountered: