Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename "variant" to "constructor" for enums in various places #715

Closed
yorickpeterse opened this issue May 18, 2024 · 0 comments
Closed

Rename "variant" to "constructor" for enums in various places #715

yorickpeterse opened this issue May 18, 2024 · 0 comments
Labels
accepting contributions Issues that are suitable to be worked on by anybody, not just maintainers compiler Changes related to the compiler documentation Documentation related changes
Milestone

Comments

@yorickpeterse
Copy link
Collaborator

In various places we refer to enum constructors as "variants". We should change this to use "constructors" as this is the more commonly used term. This includes both in the source code (e.g. various method names) and the documentation.

@yorickpeterse yorickpeterse added accepting contributions Issues that are suitable to be worked on by anybody, not just maintainers documentation Documentation related changes compiler Changes related to the compiler labels May 18, 2024
@yorickpeterse yorickpeterse added this to the 0.16.0 milestone May 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepting contributions Issues that are suitable to be worked on by anybody, not just maintainers compiler Changes related to the compiler documentation Documentation related changes
Projects
None yet
Development

No branches or pull requests

1 participant