You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit bc3f1a5
Browse filesBrowse the repository at this point in the historyBrowse files
Fix discarding of NRE's when unboxing nullables in Mono and JIT (dotnet#133351)
VN-based constant folding did not preserve exceptions from the root
node. For `GetType` folding, that results in discarding an explicit
nullcheck.
Retain throwing roots when their VN exception sets are not covered by
their operands. Fold unused GetType operations to null checks through
shared side-effect extraction, and add a targeted nullable GetType
regression test.
Mono had a similar issue for nullables only, which was fixed in dotnet#132732
but later reverted. This PR includes that fix.
---------
Co-authored-by: Copilot <[email protected]>
0 commit comments