Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
cmd/gofmt: gofmt -r can't parse 'var a SomeType -> var a AnotherType' #4430
The gofmt rewrite mechanism is nice but also a historical artifact. At this point it makes more sense to have a more general and separate rewrite tool instead. Making this specific feature work in gofmt will only prompt other rewrite notations that are also not accepted. Decided to not take any action and leave this to a future, more sophisticated tool.
Status changed to Unfortunate.