Skip to content
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

Decode: check for explicit tables on dotted keys #639

Merged
merged 1 commit into from
Oct 23, 2021
Merged

Decode: check for explicit tables on dotted keys #639

merged 1 commit into from
Oct 23, 2021

Conversation

pelletier
Copy link
Owner

The TOML spec is being clarified to say that dotted keys "define" their
intermediate tables. Therefore the seen tracker needs to verify that none of
them reference an explicit table.

Also added a missing seen expression check for key-values parsed as part of a
table section.

See toml-lang/toml#846

Issue: #613

The TOML spec is being clarified to say that dotted keys "define" their
intermediate tables. Therefore the seen tracker needs to verify that none of
them reference an explicit table.

Also added a missing seen expression check for key-values parsed as part of a
table section.

See toml-lang/toml#846
@pelletier pelletier merged commit ed02a1f into v2 Oct 23, 2021
@pelletier pelletier deleted the toml-846 branch October 23, 2021 03:25
@pelletier pelletier changed the title seen: check for explicit tables on dotted keys Decode: check for explicit tables on dotted keys Oct 28, 2021
@pelletier pelletier added the bug Issues describing a bug in go-toml. label Oct 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues describing a bug in go-toml.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant