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

Fix bad copy-paste in can equal interface for pointer types #1033

Merged
merged 1 commit into from
Mar 17, 2022

Conversation

philberty
Copy link
Member

When we perform method resolution we check if the self arguments can be
matched. Here the bug was that pointer types had a bad vistitor and only
could ever match reference types which is wrong and was a copy paste error.

Fixes #1031
Addresses #849

When we perform method resolution we check if the self arguments can be
matched. Here the bug was that pointer types had a bad vistitor and only
could ever match reference types which is wrong and was a copy paste error.

Fixes #1031
@philberty philberty added the bug label Mar 17, 2022
@philberty philberty added this to the Macro Expansion milestone Mar 17, 2022
@philberty philberty requested a review from CohenArthur March 17, 2022 09:53
@philberty
Copy link
Member Author

bors r+

@philberty philberty mentioned this pull request Mar 17, 2022
18 tasks
@bors
Copy link
Contributor

bors bot commented Mar 17, 2022

Build succeeded:

@bors bors bot merged commit 3ada3d8 into master Mar 17, 2022
@philberty philberty deleted the phil/issue-1031 branch March 17, 2022 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bad method resolution on pointers
2 participants