Skip to content

cmd/compile: panic on invalid generic append with type parameter spread [1.25 backport] #78581

Closed

Description

@gopherbot

@dr2chase requested issue #78163 to be considered for backport to the next 1.25 minor release.

@gopherbot please consider this for backport to 1.25.

Activity

  1. added
    CherryPickCandidateUsed during the release process for point releases
    compiler/runtimeIssues related to the Go compiler and/or runtime.
    on Apr 8, 2026
  2. added this to the Go1.25.10 milestone on Apr 8, 2026
  3. prattmic commented on Apr 29, 2026

    @prattmic
    Member

    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?

  4. gopherbot commented on Apr 29, 2026

    @gopherbot
    ContributorAuthor

    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

  5. gopherbot commented on Apr 29, 2026

    @gopherbot
    ContributorAuthor

    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

  6. self-assigned this
    on Apr 29, 2026
  7. griesemer commented on Apr 29, 2026

    @griesemer
    Contributor

    @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.

  8. added a commit that references this issue on Apr 29, 2026
    e50bd35
  9. gopherbot commented on Apr 29, 2026

    @gopherbot
    ContributorAuthor

    Closed by merging CL 772140 (commit e50bd35) to release-branch.go1.25.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

CherryPickApprovedUsed during the release process for point releasescompiler/runtimeIssues related to the Go compiler and/or runtime.

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions