We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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 )
for consistency.
(cc: @ianlancetaylor)
The text was updated successfully, but these errors were encountered:
I will fix this tonight or tomorrow morning.
Sorry, something went wrong.
Change https://golang.org/cl/183378 mentions this issue: cmd/gofmt: fix normalization of imaginary number literals
cmd/gofmt: fix normalization of imaginary number literals
41b9e99
No branches or pull requests
The latest version of gofmt canonicalizes number literal prefixes and exponent letters (to use lower case letters). It misses imaginary literals.
remains unchanged but should become
for consistency.
(cc: @ianlancetaylor)
The text was updated successfully, but these errors were encountered: