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: missing typecheck #56727
Comments
I add line |
Simpler reproducer:
The problem is that |
Change https://go.dev/cl/450215 mentions this issue: |
Seems we need to backport this cc @mdempsky @randall77 |
Reopen for backporting cc @randall77 |
@gopherbot please open a backport issue for 1.19. |
Backport issue(s) opened: #56744 (for 1.19). Remember to create the cherry-pick CL(s) as soon as the patch is submitted to master, according to https://go.dev/wiki/MinorReleases. |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes (v1.19.3).
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I came across an internal compiler error while testing a project. First locally then in CI/CD (self-hosted GitLab running a
golang
Docker container).I removed enough code to produce this:
With the above code in
test.go
I rango run ./test.go
.(Strangely, the same code seems to work on go.dev/play: https://go.dev/play/p/A-TOmDsk13O)
What did you expect to see?
done
and a 0 exit code.What did you see instead?
The text was updated successfully, but these errors were encountered: