We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Similar to #658
Given a=[{b=1,b=2}], go-toml returns the following (using gotoml-test-decoder):
a=[{b=1,b=2}]
gotoml-test-decoder
{ "a": [ { "b": { "type": "integer", "value": "2" } } ] }
To Reproduce https://play.golang.org/p/DxoAkvnWJLI
toml.Unmarshal([]byte("a=[{b=1,b=2}]"), &v)
Expected behavior I expected an error about duplicate keys within the inline table.
Versions
Additional context Found while doing differential fuzzing against BurnstSushi.
The text was updated successfully, but these errors were encountered:
seen: verify arrays
719fcc6
Fixes #662
seen: verify arrays (#663)
f27a07d
Should be fixed by f27a07d. As far as I know only inline tables and arrays are containers in values, so that should be the end of it 😅
Sorry, something went wrong.
If not, the fuzzer will probably find it! 😄
No branches or pull requests
Describe the bug
Similar to #658
Given
a=[{b=1,b=2}]
, go-toml returns the following (usinggotoml-test-decoder
):To Reproduce
https://play.golang.org/p/DxoAkvnWJLI
Expected behavior
I expected an error about duplicate keys within the inline table.
Versions
Additional context
Found while doing differential fuzzing against BurnstSushi.
The text was updated successfully, but these errors were encountered: