-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Closed
Labels
ExpertNeededFrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.compiler/runtimeIssues related to the Go compiler and/or runtime.Issues related to the Go compiler and/or runtime.
Milestone
Description
Proposal Details
type AnyType interface {
any | []uint8
}
type KeySet struct {
Keys []AnyType
}some issue content about this:
golang-jwt/jwt#401
The defined generic type AnyType can be used directly as a type and is compiled.
If you delete any, you will be prompted with
cannot use type AnyType outside a type constraint: interface contains type constraintsI haven't found anything about it, so I don't know if it's intentional or not.
If so, could you provide some relevant information?
Metadata
Metadata
Assignees
Labels
ExpertNeededFrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.compiler/runtimeIssues related to the Go compiler and/or runtime.Issues related to the Go compiler and/or runtime.
Type
Projects
Status
Done