cmd/gofmt: gofmt -r stack overflow when trying to rewrite functions #14821
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Please answer these questions before submitting your issue. Thanks!
go version
)?go env
)?Arch Linux
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
Tried to rewrite functions with gofmt.
Function converted into
var X = func(A B) {}
.The text was updated successfully, but these errors were encountered: