Skip to content

Make Option covariant #190

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

Merged
merged 10 commits into from
Sep 17, 2024
Merged

Make Option covariant #190

merged 10 commits into from
Sep 17, 2024

Conversation

dbrattli
Copy link
Owner

@dbrattli dbrattli commented Jan 15, 2024

Trying to make Option covariant. This type checks, but there could be false negatives since you can never really trust type checkers in Python.

Fixes #171, #221

@dbrattli dbrattli merged commit 06e6f15 into main Sep 17, 2024
3 checks passed
@dbrattli dbrattli deleted the option-covariance branch September 17, 2024 07:56
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.

_TSource in Option should be covariant
1 participant