x/tools/go/analysis/passes/fieldalignment/cmd/fieldalignment: comments are removed #54333
Labels
Analysis
Issues related to static analysis (vet, x/tools/go/analysis)
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
When I execute the following command, I found that the field comments in the fixed struct are not preserved, you can try it, I don't quite understand why the original comments are removed. Please take a look, thank you.
What did you expect to see?
What did you see instead?
The text was updated successfully, but these errors were encountered: