cmd/gofmt: inconsistent variable names in rewrite.go #57567
Labels
FrozenDueToAge
help wanted
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
Milestone
What did you do?
Read through
cmd/gofmt/rewrite.go
in order to find out how to deal with comments when instrumenting Go code.What did you expect to see?
The Values/types for special cases use a consistent naming scheme.
What did you see instead?
Ptr
, others omit it. Either all or none should include the wordPtr
.positionType
should rather beposType
, as it is abouttoken.Pos
, nottoken.Position
.The text was updated successfully, but these errors were encountered: