-
Notifications
You must be signed in to change notification settings - Fork 5.3k
[mono] Assert that we don't need to inflate types when applying DIM overrides #74379
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
Conversation
In dotnet#64102 (comment) we concluded that this branch is never taken.
|
Update they still fail. So I just added a link to their tracking issue. Previously: |
|
@thaystg @vargaz this is ready for review, I think. @SamMonoRT I think this is probably worth backporting to net7 |
Yes, we should backport this change. |
|
/backport to release/7.0 |
|
Started backporting to release/7.0: https://github.com/dotnet/runtime/actions/runs/2921758914 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The change looks good to me!
Due to rearranging the logic in #64102 we already inflated the interfaces that are generic instances. Inflating again is wrong and will use the wrong generic context.
Fixes #70190