Skip to content

Error thrown if creating duplicate key in object structure #14

Description

@Madd0g

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions