mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
toml: support multi-level map keys in arrays-of-tables (#12641)
This commit is contained in:
1
vlib/toml/tests/testdata/array_of_tables_edge_case_2_test.out
vendored
Normal file
1
vlib/toml/tests/testdata/array_of_tables_edge_case_2_test.out
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{ "albums": [ { "songs": [ { }, { } ] } ], "artists": [ { "home": { "address": { } } } ] }
|
||||
6
vlib/toml/tests/testdata/array_of_tables_edge_case_2_test.toml
vendored
Normal file
6
vlib/toml/tests/testdata/array_of_tables_edge_case_2_test.toml
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
[[ albums ]]
|
||||
[[ albums.songs ]]
|
||||
[[ albums.songs ]]
|
||||
|
||||
[[ artists ]]
|
||||
[ artists.home.address ]
|
||||
Reference in New Issue
Block a user