x/tools/go/ast/astutil: Apply: extraneous comma after replaced parameter #23771
Labels
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
Not sure if this is a bug in
astutil.Apply
orformat.Node
.This function:
yields this output:
Note the comma at the end of the function param list.
Reparsing the result with a new FileSet and then re-formatting fixes the problem.
The text was updated successfully, but these errors were encountered: