You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
cmd/compile: staticcheck still crashes with generic methods on Go 1.27.2 #82105
We updated to Go 1.27.2 hoping that it'd permit us to use generic methods with staticcheck (since #81188 is fixed) but it still crashes in the same way.
It seems that despite the new export format, the indexes aren't populated correctly at least for our codebase.
changed the title [-]staticcheck still crashes with generic methods on Go 1.27.2[/-][+]cmd/compile: staticcheck still crashes with generic methods on Go 1.27.2[/+]on Oct 9, 2026
Activity
gopherbot commentedon Oct 9, 2026
Change https://go.dev/cl/847627 mentions this issue:
cmd/compile: record method indices before encoding a named typeadonovan commentedon Oct 9, 2026
@gopherbot Please create a backport issue for Go 1.27: the 1.27.2 compiler's export data still causes applications to crash. Sigh.
gopherbot commentedon Oct 9, 2026
Backport issue(s) opened: #82106 (for 1.27).
Remember to create the cherry-pick CL(s) as soon as the patch is submitted to master, according to https://go.dev/wiki/MinorReleases.
[-]staticcheck still crashes with generic methods on Go 1.27.2[/-][+]cmd/compile: staticcheck still crashes with generic methods on Go 1.27.2[/+]gabyhelp commentedon Oct 9, 2026
Related Issues
(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)
dominikh commentedon Oct 9, 2026
Any idea when Go 1.27.3 will be released? 😅
cmd/compile: record method indices before encoding a named type
adonovan commentedon Oct 12, 2026
The first Tuesday of the month. Unfortunately that's still a while away. :(
cagedmantis commentedon Oct 20, 2026
Is there any confirmation that the merged CL fixes the issue?
adonovan commentedon Oct 28, 2026
Backport CL is https://go.dev/cl/855582.
gopherbot commentedon Oct 28, 2026
Change https://go.dev/cl/855582 mentions this issue:
[release-branch.go1.27] cmd/compile: record method indices before encoding a named type[release-branch.go1.27] cmd/compile: record method indices before enc…