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

Support generics in check for valid types in arithmetic expressions #1384

Merged
merged 1 commit into from
Jul 15, 2022

Conversation

philberty
Copy link
Member

When we check for valid types we need to be sure to call destructure which
will extract out any generics so that we are checking the actual concrete
type that is being used here.

Fixes #1383

When we check for valid types we need to be sure to call destructure which
will extract out any generics so that we are checking the actual concrete
type that is being used here.

Fixes #1383
@philberty philberty added the bug label Jul 15, 2022
@philberty philberty added this to the Imports and visibility milestone Jul 15, 2022
@philberty philberty self-assigned this Jul 15, 2022
@philberty philberty added this to In progress in Imports and Visbility via automation Jul 15, 2022
@philberty
Copy link
Member Author

bors r+

@bors
Copy link
Contributor

bors bot commented Jul 15, 2022

Build succeeded:

@bors bors bot merged commit d155a54 into master Jul 15, 2022
Imports and Visbility automation moved this from In progress to Done Jul 15, 2022
@philberty philberty deleted the phil/generic-bug-fix branch July 15, 2022 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

Bad check for valid operator types does not account for substituted generics
1 participant