pmderodat / ada-toml

TOML parser for Ada
Other
31 stars 5 forks source link

Exception on invalid TOML redefining existing table #8

Closed Fabien-Chouteau closed 3 years ago

Fabien-Chouteau commented 3 years ago

Tested on v0.2:

$ cat test.toml
[[a.b]]
c = 0
[[a]]
c = 1
$ cat test.toml | obj-checkers/ada_toml_decode

raised SYSTEM.ASSERTIONS.ASSERT_FAILURE : failed precondition from toml.ads:229
pmderodat commented 3 years ago

This is fixed in the development tree. Thanks for reporting this bug, Fabien!

Fabien-Chouteau commented 3 years ago

Thanks, let us know when you make a new release.