go/ast: SortImports does not change the (*ast.File).Imports field #69694
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Reproducer:
Currently
ast.SortImports
only updates thef.Decls[0].(*ast.GenDecl)
, thef.Imports
field is untouched.CC @griesemer
The text was updated successfully, but these errors were encountered: