Uh oh!
There was an error while loading. Please reload this page.
[release/6.0] Set generic type arguments nullability for value types - #58390
Conversation
Uh oh!
There was an error while loading. Please reload this page.
danmoseley
commented
Aug 31, 2021
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. |
danmoseley
commented
Aug 31, 2021
Approved for release/6.0. New API, significant bug, customer reported, localized fix. |
buyaa-n
commented
Aug 31, 2021
Good catch, some of them missing tests, some not needed, I will clean up with a different PR |
danmoseley
commented
Aug 31, 2021
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. |
buyaa-n
commented
Aug 31, 2021
I don't expect they find something else, but sure its good to have |
buyaa-n
commented
Sep 1, 2021
You are right, it found something 👍, thanks! PR up |
danmoseley
commented
Sep 8, 2021
@buyaa-n this might not meet the bar >=Sept 14th. Is it nearly ready? |
buyaa-n
commented
Sep 8, 2021
buyaa-n
commented
Sep 11, 2021
@danmoseley the updates pushed to this PR, it is now ready for review/merge |
danmoseley
commented
Sep 13, 2021
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. |
danmoseley
commented
Sep 13, 2021
@buyaa-n can someone give this a signoff? then I can merge it. |
buyaa-n
commented
Sep 13, 2021
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