-
Notifications
You must be signed in to change notification settings - Fork 471
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
Regression in 4.2.0 related to MethodSignatureComparer
#309
Comments
Whoops, that was an oversight. Merged, thanks. |
Sorry for introducing the bug, at least now there is a test for it. Thanks @stakx ! |
@stakx would a 4.2.1 release right now with just this fix be welcomed, it sounds like this might affect quite a lot of people. /cc @fir3pho3nixx |
@jonorossi - Such a 4.2.1 release would be much appreciated. 👍 We've just got in another weird report (devlooped/moq#480) that might be related to the same regression (but I can't confirm yet). I think having a Castle Core 4.2.1 and a Moq 4.7.987 (or whatever our patch version will be, they're admittedly a little strange) would give us some breathing room cause we'd then have no known regressions on the Castle side, and no version conflicts caused on Moq's side, so users would have something reasonably safe to upgrade to. |
@stakx 4.2.1 now available: https://github.com/castleproject/Core/releases/tag/v4.2.1 |
Awesome, thank you very much! 🥇 |
Thanks for the fix; we'll soon release a new version of FakeItEasy as well. FakeItEasy/FakeItEasy#1257 |
@cbruun just reported a regression in Moq (devlooped/moq#469) that looks like it's a regression in Castle Core 4.2.0, caused by #303 (commit 0fe6129).
Repro code:
Probable cause of the regression:
MethodSignatureComparer.EqualSignatureTypes(x: typeof(Implementation1<T>), y: typeof(Implementation2<T>))
no longer returnsfalse
. It now returnstrue
because it only checks the type arguments for equality, not the actual generic type definition itself.Possible solution:
See the PR referenced below.
/cc @BitWizJason
The text was updated successfully, but these errors were encountered: