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

[release/6.0] [mono][interp] Fix GetType called on ptr constrained to Nullable` #61022

Closed
wants to merge 1 commit into from

Commits on Oct 29, 2021

  1. [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).
    BrzVlad authored and github-actions committed Oct 29, 2021
    Configuration menu
    Copy the full SHA
    3e11127 View commit details
    Browse the repository at this point in the history