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

Make sure instances of type NoneType and Bool cannot be created #269

Closed
masak opened this issue Sep 21, 2017 · 0 comments
Closed

Make sure instances of type NoneType and Bool cannot be created #269

masak opened this issue Sep 21, 2017 · 0 comments

Comments

@masak
Copy link
Owner

masak commented Sep 21, 2017

Blocking on #242.

Being able to create new enum instances gives the wrong impression, and is potentially deleterious to things like switching on them in a predictable manner. NoneType and Bool are not enum types yet, but at heart they are.

Same should of course go for #265 once we have real enums.

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

No branches or pull requests

1 participant