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: panic on invalid generic append with type parameter spread [1.25 backport] #78581
I attempted to create a 1.25 cherry pick in https://go.dev/cl/771980, but there are major merge conflicts, which I'm not sure how to resolve. @griesemer or @mrkfrmn should take a look. A bunch of the code modified in the original CL is apparently new in 1.26, so maybe this issue doesn't affect 1.25 after all?
Change https://go.dev/cl/771980 mentions this issue: [release-branch.go1.25] go/types, types2: handle unconstrained type parameters correctly in a few places
Change https://go.dev/cl/772140 mentions this issue: [release-branch.go1.25] go/types, types2: handle unconstrained type parameters correctly in a few places
@prattmic The issue affects 1.25 as well. But the relevant code has been rewritten to use iterators hence the merge conflicts. I applied the changes by hand. Feel free to abandon your CL.
Activity
prattmic commentedon Apr 29, 2026
I attempted to create a 1.25 cherry pick in https://go.dev/cl/771980, but there are major merge conflicts, which I'm not sure how to resolve. @griesemer or @mrkfrmn should take a look. A bunch of the code modified in the original CL is apparently new in 1.26, so maybe this issue doesn't affect 1.25 after all?
gopherbot commentedon Apr 29, 2026
Change https://go.dev/cl/771980 mentions this issue:
[release-branch.go1.25] go/types, types2: handle unconstrained type parameters correctly in a few placesgopherbot commentedon Apr 29, 2026
Change https://go.dev/cl/772140 mentions this issue:
[release-branch.go1.25] go/types, types2: handle unconstrained type parameters correctly in a few placesgriesemer commentedon Apr 29, 2026
@prattmic The issue affects 1.25 as well. But the relevant code has been rewritten to use iterators hence the merge conflicts. I applied the changes by hand. Feel free to abandon your CL.
[release-branch.go1.25] go/types, types2: handle unconstrained type p…
gopherbot commentedon Apr 29, 2026
Closed by merging CL 772140 (commit e50bd35) to
release-branch.go1.25.