The text was updated successfully, but these errors were encountered:
bradfitz
changed the title
gofmt causes stack overflow when trying to rewrite functions into different functions (with at least one argument)
cmd/gofmt: gofmt -r stack overflow when trying to rewrite functions
Mar 14, 2016
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: