Uh oh!
There was an error while loading. Please reload this page.
[release/6.0][mono][interp] Fix GetType called on ptr constrained to Nullable` (#6… - #61305
Conversation
…tnet#61020) * [interp] Fix GetType called on ptr constrained to Nullable` We were statically optimizing this call to return the actual constrained class type, which is incorrect for nullables, because boxing of a nullable (as part of the constrained call) actually creates an object with the type of the nullable's value (or null if there is no value). * Add test for GetType call on ptr constrained to nullable
ghost
commented
Nov 8, 2021
Tagging subscribers to this area: @BrzVlad Issue DetailsBackport of #61020 to release/6.0 Fixes #61007 Customer ImpactFound by a customer, object.GetType() functions incorrectly on Nullable types in the interpreter. TestingManual RegressionYes, the regression was introduced this year. RiskLow. Regression introduced in net6.0
|
BrzVlad
commented
Nov 8, 2021
@lewing Re-created this PR manually since github actions seemed to fail the second time |
ghost
commented
Nov 11, 2021
Tagging subscribers to this area: @BrzVlad Issue DetailsBackport of #61020 to release/6.0 Fixes #61007 Customer ImpactFound by a customer, object.GetType() functions incorrectly on Nullable types in the interpreter. TestingManual RegressionYes, the regression was introduced this year. RiskLow. Regression introduced in net6.0
|
Anipik
commented
Nov 11, 2021
/azp run runtime-staging, dotnet-linker-tests |
|
Azure Pipelines successfully started running 2 pipeline(s). |
Backport of #61020 to release/6.0
Customer Impact
Found by a customer, object.GetType() functions incorrectly on Nullable types in the interpreter.
Testing
Manual and CI
Regression
Yes, the regression was introduced this year.
Risk
Low. Regression introduced in net6.0