-
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: assertion failed #66272
Comments
I uploaded the correct zip file. I forgot the recursive flag in the initial upload. |
It seems to me this is duplicated of #65593. |
@ArnoSen Could you please trying gotip and see if the issue were fixed? Since you did not post any code nor github repo, we could not reproduce and verify the issue. |
Hi, I wil try. BTW, the code is in the zip file. https://github.com/golang/go/files/14575193/int_compile_err.zip |
The same error persists with the latest gotip (go version devel go1.23-a46ecdc Tue Mar 12 19:38:41 2024 +0000 linux/amd64)
|
I was pointed out that maybe I did not invoke
|
Go version
go version go1.22.1 linux/amd64
Output of
go env
in your module/workspace:What did you do?
During refactor I added a panic() to be sure that I was fixing that later. Then compilation failed
See the stripped down code in attached zip (see first comment)
What did you see happen?
$ go build
github.com/user/some/jaccount
CLOSURE [/int_compile_err/jaccount/mailbox.go:52:22:var jmbs github.com/user/some/jaccount.JMailboxes]
: internal compiler error: assertion failed
Please file a bug report including a short program that triggers the error.
https://go.dev/issue/new
What did you expect to see?
I would expect it to compile just fine or give a compile error.
The text was updated successfully, but these errors were encountered: