...
1# This test is a bit tricky. It should fail because the first use of
2# `[[albums.songs]]` without first declaring `albums` implies that `albums`
3# must be a table. The alternative would be quite weird. Namely, it wouldn't
4# comply with the TOML spec: "Each double-bracketed sub-table will belong to
5# the most *recently* defined table element *above* it."
6#
7# This is in contrast to the *valid* test, table-array-implicit where
8# `[[albums.songs]]` works by itself, so long as `[[albums]]` isn't declared
9# later. (Although, `[albums]` could be.)
10[[albums.songs]]
11name = "Glory Days"
12
13[[albums]]
14name = "Born in the USA"
View as plain text