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

Allow overload inference for polymorphic operators #1291

Merged
merged 2 commits into from
Mar 18, 2023

Conversation

glopesdev
Copy link
Member

@glopesdev glopesdev commented Mar 17, 2023

This PR adds support for type mapping overload inference for polymorphic combinators. This allows InputMapping operators to select target overloads when the downstream operator is a polymorphic combinator builder. In this case, InputMapping will find overloads in the selected concrete type.

This will allow libraries relying on auto-generated polymorphic types to expose use of those types as if they were first-class operators in the language.

Fixes #1290

@glopesdev glopesdev added feature New planned feature fix Pull request that fixes an issue labels Mar 17, 2023
@glopesdev glopesdev added this to the 2.8 milestone Mar 17, 2023
@glopesdev glopesdev merged commit 412bba3 into bonsai-rx:main Mar 18, 2023
@glopesdev glopesdev deleted the issue-1290 branch March 18, 2023 06:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New planned feature fix Pull request that fixes an issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

InputMapping does not infer available type mappings on polymorphic operators
1 participant