Hi Troy. I’m glad you were able to figure this out. The TOML specification, in the section about tables, states:
The top-level table, also called the root table, starts at the beginning of the document and ends just before the first table header (or EOF). Unlike other tables, it is nameless and cannot be relocated.
That means that this:
foo = "bar"
[table]
wibble = "wobble"
is not the same as this:
[table]
wibble = "wobble"
foo = "bar"
The last example can also be written:
[table]
wibble = "wobble"
foo = "bar"
because indentation and empty lines are irrelevant.
So, not a bug, but something to get used to with TOML. You can use YAML or JSON if you would prefer.