commit(s) to merge: 5b64d12
merge instructions: clean merge
What is the issue: A cast in CastMap was incorrectly doing as V instead of as V?. This made otherwise valid code throw in some situations.
What is the fix: Changed to as V?, which allows null to be a value in the cast map.
Why cherrypick: It's a very simple and painless fix for a reported bug (meaning someone has already hit it).
Risk: None. Only difference is that some code which would incorrectly throw will now work correctly.
Link to original issue(s): #45473
/cc @kevmoo @mit-mit @whesse @athomas @vsmenon @franklinyow
commit(s) to merge: 5b64d12
merge instructions: clean merge
What is the issue: A cast in
CastMapwas incorrectly doingas Vinstead ofas V?. This made otherwise valid code throw in some situations.What is the fix: Changed to
as V?, which allowsnullto be a value in the cast map.Why cherrypick: It's a very simple and painless fix for a reported bug (meaning someone has already hit it).
Risk: None. Only difference is that some code which would incorrectly throw will now work correctly.
Link to original issue(s): #45473
/cc @kevmoo @mit-mit @whesse @athomas @vsmenon @franklinyow