-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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: panic: builtins.go: assertion failed #61486
Comments
Change https://go.dev/cl/511657 mentions this issue: |
Issue #61486 causes a compiler crash but is not detected when running stand-alone type-checker tests because no types are recorded. Set up Config.Info map with all maps when when running local tests so that type/object recording code is executed during local tests. For #61486. Change-Id: I8eb40c8525dac3da65db0dc7e0e654842713b9a9 Reviewed-on: https://go-review.googlesource.com/c/go/+/511657 Auto-Submit: Robert Griesemer <gri@google.com> Reviewed-by: Robert Griesemer <gri@google.com> Run-TryBot: Robert Griesemer <gri@google.com> Reviewed-by: Alan Donovan <adonovan@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
Change https://go.dev/cl/511835 mentions this issue: |
We probably want to have this fix for 1.21. |
@gopherbot Please backport to Go 1.21. As @griesemer mentions, "It's not critical as this is somewhat unusual code, but at the same time this fixes a real bug and the fix is very specific to min/max only, which is new functionality. So it's not going to break existing code." |
Backport issue(s) opened: #61492 (for 1.21). Remember to create the cherry-pick CL(s) as soon as the patch is submitted to master, according to https://go.dev/wiki/MinorReleases. |
As mentioned in https://groups.google.com/g/golang-dev/c/FNPk2joOsXs/m/roCc_a4fBAAJ we don't need a backport issue. Just sending a cherry-pick CL would be fine. |
cc @golang/compiler
The text was updated successfully, but these errors were encountered: