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
package p const c = 1e646456992
works (now), but:
package p const c int = 1e646456992
ends up taking forever.
The time is spent trying to convert the large constant into an integer for the error message (constant ... overflows int).
As an aside, we should also make sure that (internally) the constant is not converted into an integer in the first place.
The text was updated successfully, but these errors were encountered:
(Your two code snippets look identical?)
Sorry, something went wrong.
@mdempsky fixed - thanks for pointing it out.
CL https://golang.org/cl/17401 mentions this issue.
715f637
No branches or pull requests
works (now), but:
ends up taking forever.
The time is spent trying to convert the large constant into an integer for the error message (constant ... overflows int).
As an aside, we should also make sure that (internally) the constant is not converted into an integer in the first place.
The text was updated successfully, but these errors were encountered: