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

Remove unnecessary convertible parameters #2071

Merged
merged 2 commits into from Sep 27, 2022
Merged

Remove unnecessary convertible parameters #2071

merged 2 commits into from Sep 27, 2022

Conversation

kennykerr
Copy link
Collaborator

I noticed that non-composable classes and delegates were being treated as convertible when they are in fact sealed and cannot be treated polymorphically. This just removes this unnecessary genericity and simplifies the method signatures in such cases.

@kennykerr kennykerr merged commit 2be9347 into master Sep 27, 2022
@kennykerr kennykerr deleted the less-generic branch September 27, 2022 19:07
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.

None yet

1 participant