Skip to content

Decoding empty inline table gives wrong result #38

@shaolang

Description

@shaolang

Toml.decode!/2 parses the following as %{"a" => %{"b" => 1}}:

a = {}
b = 1

The expected is %{"a" => %{}, "b" => 1}.

This might be related to issue #37. tomerl and TOML libraries from other languages corroborate the expected value.

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