Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
x/tools/go/ast/astutil: Apply: extraneous comma after replaced parameter #23771
Not sure if this is a bug in
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.