-
Notifications
You must be signed in to change notification settings - Fork 17.8k
New issue
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
go/types: compiling hangs #11327
Comments
I propose that gc/types employ exactly the same logic as gc compiler: |
Both |
This one is important. @griesemer, can you take a look? Thanks. |
Started. |
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. |
The following program takes 1+ hours to compile, aborted after that:
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: