Files
toml11/toml
ToruNiina cc1cc27613 fix: disallow merging dotted key and inline table
current code mistakenly allows the following TOML file.
```toml
a.b = 42       # table "a" is defined here, implicitly
a = {c = 3.14} # table "a" is overwritten here
```
But we need to allow the following (structually similar) TOML file.
```toml
a.b = 42   # table "a" is defined here, implicitly
a.c = 3.14 # table "a" is merged with {c = 3.14}
```
To distinguish those, we check whether the current table is defined as
an inline table or via dotted key. If the table we are inserting is
defined via dotted key, we accept it and merge the table. If the table
being inserted is defined as an inline table, then we report an error.
2021-12-16 01:11:47 +09:00
..
2021-10-09 11:12:58 +09:00
2021-08-27 19:52:45 -04:00
2021-05-25 21:40:41 +09:00
2021-05-25 21:40:41 +09:00
2021-08-27 19:52:45 -04:00
2021-11-19 08:39:00 -08:00
2021-11-24 06:40:09 -08:00
2021-08-27 19:52:45 -04:00