Skip to content
New issue

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

v2 tomll does not report position on error #744

Closed
pelletier opened this issue Mar 23, 2022 · 1 comment
Closed

v2 tomll does not report position on error #744

pelletier opened this issue Mar 23, 2022 · 1 comment
Labels
bug Issues describing a bug in go-toml. v2 Issues impacting the v2 major version.
Milestone

Comments

@pelletier
Copy link
Owner

Describe the bug

tomll should report the position where an error occurred, but it does not. See #742 (comment).

To Reproduce

echo 'qwe = 001' | tomll

Expected behavior

Should output contextualized error + position.

Versions

  • go-toml: v2.0.0-beta.6
  • go: 1.17.7
  • operating system: macOS
@pelletier pelletier added bug Issues describing a bug in go-toml. v2 Issues impacting the v2 major version. labels Mar 23, 2022
@pelletier pelletier added this to the v2.0.0-beta.6 milestone Mar 23, 2022
@pelletier
Copy link
Owner Author

Fixed by 88a8aec

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues describing a bug in go-toml. v2 Issues impacting the v2 major version.
Projects
None yet
Development

No branches or pull requests

1 participant