Skip to content

Proposal: support an enum constraint on generic type parameters #262

@gafter

Description

@gafter

Allow the constraints on a type parameter to include enum. Such a constrained type parameter could be instantiated with an enum type or with another type parameter that is so constrained.

This probably needs more design work.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions