-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TOML parse error: Invalid table header: Duplicate key #439
Comments
Your TOML sample looks similar to this section in the TOML spec [fruit]
apple.color = "red"
apple.taste.sweet = true
# [fruit.apple] # INVALID
# [fruit.apple.taste] # INVALID
[fruit.apple.texture] # you can add sub-tables
smooth = true with the accompanying rule being
|
Looking at getting this test case upstreamed into the compliance test suite: toml-lang/toml-test#129 |
epage
added
C-bug
Category: Things not working as expected
A-parse
Area: Parsing TOML
labels
Jan 16, 2023
epage
added a commit
to epage/toml_edit
that referenced
this issue
Jan 18, 2023
epage
added a commit
to epage/toml_edit
that referenced
this issue
Jan 18, 2023
epage
added a commit
to epage/toml_edit
that referenced
this issue
Jan 18, 2023
epage
added a commit
to epage/toml_edit
that referenced
this issue
Jan 18, 2023
epage
added a commit
to epage/toml_edit
that referenced
this issue
Jan 18, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Both
toml
andtoml_edit
fail to parse it:while the Python
tomllib
has no issue with itRust Explorer Playground
See also astral-sh/ruff#1894
The text was updated successfully, but these errors were encountered: