Skip to content

go: internal compiler error #53964

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

Closed
jiegec opened this issue Jul 20, 2022 · 1 comment
Closed

go: internal compiler error #53964

jiegec opened this issue Jul 20, 2022 · 1 comment

Comments

@jiegec
Copy link

jiegec commented Jul 20, 2022

What version of Go are you using (go version)?

$ go version
1.18.4

Does this issue reproduce with the latest release?

Yes

What operating system and processor architecture are you using (go env)?

go env Output
$ go env
GOARCH="arm64"
GOOS="darwin"
GOVERSION="go1.18.4"

What did you do?

https://go.dev/play/p/f8niQCwhoRZ

What did you expect to see?

It should build.

What did you see instead?

It fails with ICE:

$ go build test.go
# command-line-arguments
./test.go:92:45: internal compiler error: assertion failed

Please file a bug report including a short program that triggers the error.
https://go.dev/issue/new

It is reproducible in go playground.

The code is taken from https://github.com/gopasspw/gopass/blob/832d2cde4d5a93721c291644107b3a89acb7e741/internal/backend/registry.go#L85= and is encountered when building gopass.

@jiegec
Copy link
Author

jiegec commented Jul 20, 2022

Duplicate with #53852

@jiegec jiegec closed this as completed Jul 20, 2022
@golang golang locked and limited conversation to collaborators Jul 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants