File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -927,11 +927,6 @@ pub fn (mut p Parser) double_array_of_tables(mut table map[string]ast.Value) ! {
927927
928928 p.ignore_while (all_formatting)
929929
930- if dotted_key.len != 2 {
931- return error (@MOD + '.' + @STRUCT + '.' + @FN +
932- ' nested array of tables does not support more than 2 levels. (excerpt): "...${p .excerpt ()}..."' )
933- }
934-
935930 p.check_explicitly_declared (dotted_key)!
936931
937932 first := DottedKey ([dotted_key[0 ]]) // The array that holds the entries
Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ const valid_exceptions = [
2121 'string/escapes.toml' ,
2222 'string/multiline-quotes.toml' ,
2323 'table/array-implicit-and-explicit-after.toml' ,
24- 'table/array-within-dotted.toml' ,
2524]
2625// NOTE: entries in this list are tests of invalid TOML that should have the parser fail, but currently does not.
2726const invalid_exceptions = [
You can’t perform that action at this time.
0 commit comments