You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
The column number of the beginning of the addressed expression.
I don't honestly don't know if that should be the start of a.b.c =... or the start of the inner "d = .." .
But 0 seems wrong.
Versions
go-toml: v1.8.0
go: 1.14.3
operating system: macOS
The text was updated successfully, but these errors were encountered:
Closing this issue, as go-toml v2.0.0 has been released, and it seems like this issue is not in scope for v2. As go-toml v1 will not be receiving any updates, please look into upgrading to the new version. If you believe this is a mistake please reach out!
Describe the bug
GetPosition (and GetPositionPath) return a position with column 0 if the tree element is inside an inline table:
To Reproduce
It prints
(1, 0)
.Full example: https://play.golang.org/p/sOj2fK-WjLb
Expected behavior
The column number of the beginning of the addressed expression.
I don't honestly don't know if that should be the start of
a.b.c =...
or the start of the inner "d = .." .But 0 seems wrong.
Versions
The text was updated successfully, but these errors were encountered: