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

feat!: make Some and None classes final #20

Merged
merged 1 commit into from
May 8, 2024

Conversation

Lctrs
Copy link
Contributor

@Lctrs Lctrs commented May 7, 2024

No description provided.

@prewk
Copy link
Owner

prewk commented May 7, 2024

I'll bite - why do we want them final?

@Lctrs
Copy link
Contributor Author

Lctrs commented May 7, 2024

Because we don't support instantiating subclasses (and not sure we can due to strongtyping), so I want to avoid users reporting issue on this by preventing them to extend our classes.

@prewk prewk merged commit 98dffc5 into prewk:master May 8, 2024
10 checks passed
@Lctrs Lctrs deleted the feat/final-classes branch May 8, 2024 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants