Uh oh!
There was an error while loading. Please reload this page.
Fix compareTypesForEquality - #97062
Conversation
ghost
commented
Jan 17, 2024
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch |
| return true; | ||
| } | ||
| switch (et1) |
There was a problem hiding this comment.
This improves the original implementation in addition to make it correct. For example, this can prove that KeyValuePair<__Canon, int> and KeyValuePair<int, __Canon> are never equal that the original implementation was not able to.
EgorBo
commented
Jan 17, 2024
jkotas
commented
Jan 17, 2024
/azp run runtime-nativeaot-outerloop |
|
Azure Pipelines successfully started running 1 pipeline(s). |
jkotas
commented
Jan 18, 2024
/azp run runtime-nativeaot-outerloop |
jkotas
commented
Jan 18, 2024
@MichalStrehovsky PTLA |
|
Azure Pipelines successfully started running 1 pipeline(s). |
This bug is not a recent regression for AOT compilers. The test introduced by this change fails with PublishAot and PublishReadyToRun in .NET 8. Any thoughts about whether the backport meets the bar? |
EgorBo
commented
Jan 18, 2024
hm.. doesn't repro for me with R2R on net8.0, but does repro with NativeAOT |
jkotas
commented
Jan 18, 2024
Good catch. The pattern matching of The pattern matching of |
jkotas
commented
Jan 18, 2024
Opened #97134 |
jkotas
commented
Jan 18, 2024
/azp run runtime-nativeaot-outerloop |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Uh oh!
There was an error while loading. Please reload this page.
MichalStrehovsky
commented
Jan 18, 2024
We also shipped with it in .NET 7. Not a regression from previous release, no customer reports. Doesn't feel like we have a strong case for backport. |
Uh oh!
There was an error while loading. Please reload this page.
Fixes#96876