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 for runtime constraint checking for default interface methods #34889

Merged
merged 3 commits into from
Apr 14, 2020

Conversation

mangod9
Copy link
Member

@mangod9 mangod9 commented Apr 13, 2020

Proposed fix for this issue: #1674. It appears since Instantiation context is not passed in for SatisfiesConstraint the concrete instantiation type is not correctly compared.

@Dotnet-GitSync-Bot
Copy link
Collaborator

I couldn't figure out the best area label to add to this PR. Please help me learn by adding exactly one area label.

@mangod9 mangod9 requested review from fadimounir and jkotas April 13, 2020 22:14
@jkotas jkotas requested a review from davidwrighton April 14, 2020 14:50
@mangod9 mangod9 changed the title [WIP] pass in InstantiationContext to check constraints. Fix for runtime constraint checking for default interface methods Apr 14, 2020
@mangod9
Copy link
Member Author

mangod9 commented Apr 14, 2020

All R2R outerloop failures are known, and validated that the new test succeeded.

@mangod9 mangod9 merged commit 15eb48e into dotnet:master Apr 14, 2020
@mangod9 mangod9 deleted the issue-1674 branch April 14, 2020 22:04
@MichalStrehovsky
Copy link
Member

#13588 and #34323 look very similar to the issue this is fixing.

@mangod9
Copy link
Member Author

mangod9 commented Apr 15, 2020

yup. I have duped those two issues. Thanks!

@ghost ghost locked as resolved and limited conversation to collaborators Dec 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants