Skip to content

Parsing an array of tables errors #4

@jamesjwarren

Description

@jamesjwarren

Doesn't seem to support toml's array-of-tables.

Parsing this structure returns an error:

[[resources]]
name = "Article"

[[resources]]
name = "Post"
Error: "[resources" is overriding existing value
toml.js:40
    at addGroup (./node_modules/toml-js/lib/amd/toml.js:40:1)
    at parseGroup (./node_modules/toml-js/lib/amd/toml.js:26:1)
    at parseLine (./node_modules/toml-js/lib/amd/toml.js:140:1)
    at ./node_modules/toml-js/lib/amd/toml.js:167:1
    at Array.forEach (<anonymous>)
    at parse (./node_modules/toml-js/lib/amd/toml.js:165:1)
    at Object.startParser [as parse] (./node_modules/toml-js/lib/amd/toml.js:218:1)
    at ./src/App.js:36:1
    at <anonymous>

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