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?
to your account
The following program takes 1+ hours to compile, aborted after that:
var g = 1e81391777742999
Package should either analyze it in a reasonable amount of time (seconds) or give an error if it cannot chew it. Compiling a single line of code for hours does not make sense.
on commit af81789
The text was updated successfully, but these errors were encountered:
I propose that gc/types employ exactly the same logic as gc compiler:
Sorry, something went wrong.
Both go tool vet and the command vet hang in this case.
go tool vet
This one is important. @griesemer, can you take a look? Thanks.
The largest decimal exponent that needs to be accepted is 646456992 (approx. 2**MaxInt32). See also issue #11326.
CL https://golang.org/cl/17360 mentions this issue.
Successfully merging a pull request may close this issue.