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 Loading produces an error:
(1, 5): was expecting token =, but got "." instead
To Reproduce
_, err := toml.Load(` S1 . 'S2' . "S3" = 3`) if err != nil { fmt.Println(err) }
Expected behavior There should be no error according to the TOML specification:
Whitespace around dot-separated parts is ignored.
Versions
Additional context The following code works:
_, err := toml.Load(`[ S1 . 'S2' . "S3" ]`) if err != nil { fmt.Println(err) }
The text was updated successfully, but these errors were encountered:
Allow spaces when using dotted keys in assignment (#402)
9ba7363
Fixes #401
Successfully merging a pull request may close this issue.
Describe the bug
Loading produces an error:
To Reproduce
Expected behavior
There should be no error according to the TOML specification:
Versions
Additional context
The following code works:
The text was updated successfully, but these errors were encountered: