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

WIP on ConvertingValueComparer #35354

Closed
wants to merge 1 commit into from
Closed

Conversation

roji
Copy link
Member

@roji roji commented Dec 19, 2024

Prototype for #35326 (comment)

return valueComparer;
}

if (targetClrType.IsNullableValueType() && !valueComparer.Type.IsNullableValueType())
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't you also need to check that targetClrType.UnwrapNullableType() == valueComparer.Type?

@AndriySvyryd
Copy link
Member

I still believe that for 9.0.2 #35360 is a less risky fix and considering that we need to keep the legacy code for quirk, I don't see any downside to it.

@roji
Copy link
Member Author

roji commented Dec 20, 2024

OK @AndriySvyryd, am OK with that. @maumar @AndriySvyryd you can close this PR or keep it, reusing the code here for the 10 fix if we end up going that way.

@AndriySvyryd
Copy link
Member

AndriySvyryd commented Dec 20, 2024

Superceeded by #35326

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants