...
1# First a.b.c defines a table: a.b.c = {z=9}
2#
3# Then we define a.b.c.t = "str" to add a str to the above table, making it:
4#
5# a.b.c = {z=9, t="..."}
6#
7# While this makes sense, logically, it was decided this is not valid TOML as
8# it's too confusing/convoluted.
9#
10# See: https://github.com/toml-lang/toml/issues/846
11# https://github.com/toml-lang/toml/pull/859
12
13[a.b.c]
14 z = 9
15
16[a]
17 b.c.t = "Using dotted keys to add to [a.b.c] after explicitly defining it above is not allowed"
View as plain text