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: prefixes/exponents of imaginary literals don't get canonicalized #32718
The latest version of gofmt canonicalizes number literal prefixes and exponent letters (to use lower case letters). It misses imaginary literals.
const ( _ = 0X0i _ = 1.2E3i )
remains unchanged but should become
const ( _ = 0x0i _ = 1.2e3i )