-
Notifications
You must be signed in to change notification settings - Fork 5k
[release/6.0] Set generic type arguments nullability for value types #58390
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
src/libraries/System.Runtime/tests/System/Reflection/NullabilityInfoContextTests.cs
Show resolved
Hide resolved
Nit (for later) typo: NullablNotNullIfNotNullReturn --> NullableNotNullIfNotNullReturn |
Some of the test types/members in the test file here don't seem used: MethodTupleNullNonNull Do any of those suggest missing tests? If not they can be cleaned up in a future PR. |
Approved for release/6.0. New API, significant bug, customer reported, localized fix. |
Good catch, some of them missing tests, some not needed, I will clean up with a different PR |
We have some time, so would it make sense to add those missing tests, and roll them into this PR? In case they find something else. |
I don't expect they find something else, but sure its good to have |
You are right, it found something 👍, thanks! PR up |
@buyaa-n this might not meet the bar >=Sept 14th. Is it nearly ready? |
@danmoseley the updates pushed to this PR, it is now ready for review/merge |
Approved. Fixing customer reported bug (and similar bugs) in feature that's new in 6.0. Risk of affecting unrelated code is low as we don't call through this API. |
@buyaa-n can someone give this a signoff? then I can merge it. |
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.
Probably it should not be my sing-off @stephentoub @steveharter @jeffhandley |
Backport of #58036 to release/6.0
Issue: #57920
/cc @buyaa-n
Customer Impact
Generic type parameters nullability not set for value types, which causes bug for generic parameters of ValueTuple. Customers would expect to have nullability info for generic parameters because it is not set for ValueTuple they would get a runtime exception
Testing
Unit/CI
Risk
Low, bug fix for broken 6.0 scenario