-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
cmd/compile: internal compiler error: large ONEW with EscNone: new() #14574
Labels
Milestone
Comments
Shorter repo, https://play.golang.org/p/YDCQcTZ0Kl |
Shorter still: https://play.golang.org/p/PyB02E34XI |
Duplicate of #11728 ? |
ianlancetaylor
changed the title
compiler: internal compiler error: large ONEW with EscNone: new()
cmd/compile: internal compiler error: large ONEW with EscNone: new()
Feb 29, 2016
Compiles with 1.4, fails with 1.5 and 1.6. |
@dgryski yes, definitely a duplicate. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What version of Go are you using (
go version
)?Go Playground
What operating system and processor architecture are you using (
go env
)?Go Playground
What did you do?
See https://play.golang.org/p/beWgN_LRyJ -- it fails to compile with
internal compiler error: large ONEW with EscNone: new()
. The code itself doesn't make a lot of sense, building a buffer and not using it, but it should still compile.What did you expect to see?
The program should run on the Go Playground.
What did you see instead?
The program fails to compile with
internal compiler error: large ONEW with EscNone: new()
Other
If I assign the buffer to a variable and invoke a method, the code compiles and runs. See https://play.golang.org/p/tKXN_mw_Sp
The text was updated successfully, but these errors were encountered: