Closed gcstang closed 2 years ago
Describe the bug Still no comment in v2.0.0 of the API, was supposed to be fixed here #595
To Reproduce Steps to reproduce the behavior. Including TOML files. (Example Go File attached, gzipped so it would let me attach them)
Expected behavior Setting the toml comment should work on all array types In example [[scp]] doesn't include it's comment
[[scp]]
Versions
Additional context Add any other context about the problem here that you think may help to diagnose. main.go.gz go.sum.gz go.mod.gz demo.toml.gz
Thank you for filing the issue.
Playground link to reproduce: https://go.dev/play/p/sLezx1tt0yR
Should be fixed as of https://github.com/pelletier/go-toml/commit/627dade0c796e720205e26fc875d33db3e548122.
Describe the bug Still no comment in v2.0.0 of the API, was supposed to be fixed here #595
To Reproduce Steps to reproduce the behavior. Including TOML files. (Example Go File attached, gzipped so it would let me attach them)
Expected behavior Setting the toml comment should work on all array types In example
[[scp]]
doesn't include it's commentVersions
Additional context Add any other context about the problem here that you think may help to diagnose. main.go.gz go.sum.gz go.mod.gz demo.toml.gz