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

Fix regression where be and beIdenticalTo matchers stopped matching against AnyObject protocols #1183

Merged
merged 2 commits into from
Dec 16, 2024

Conversation

younata
Copy link
Member

@younata younata commented Dec 13, 2024

Fixes #1182

Seems like... the simplest way is to just have an overload for these that specifically take in AnyObject, instead of a generic conforming to AnyObject?

Checklist - While not every PR needs it, new features should consider this list:

  • Does this have tests?
  • Does this have documentation?
  • Does this break the public API (Requires major version bump)?
  • Is this a new feature (Requires minor version bump)?

@younata younata merged commit c638ef9 into main Dec 16, 2024
6 of 16 checks passed
@younata younata deleted the beIdentical_protocol_conforming_to_AnyObject branch December 16, 2024 03:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Identity checking tests no longer compile on 13.7.0
2 participants