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

Error thrown if creating duplicate key in object structure #14

Open
Madd0g opened this issue Jan 4, 2020 · 0 comments
Open

Error thrown if creating duplicate key in object structure #14

Madd0g opened this issue Jan 4, 2020 · 0 comments

Comments

@Madd0g
Copy link

Madd0g commented Jan 4, 2020

if I create a simple toml with a repeating object declaration, I get an error in reader.errors.

[obj]
subobj.id = 123
subobj.id = 456

TypeError: Cannot read property 'type' of null.

It would be nice to have a nicer error in this case.

Thanks! Great lib!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant