Skip to content

unique: panic when calling unique.Make with string casted as any [1.23 backport] #68992

@gopherbot

Description

@gopherbot

@mknyszek requested issue #68990 to be considered for backport to the next 1.23 minor release.

@gopherbot Please open a backport issue for Go 1.23.

This problem accidentally limits what types the unique package can work with, and results in panics. Also, the fix is very simple and low risk.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CherryPickApprovedUsed during the release process for point releases

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions