Skip to content

Conversation

slavapestov
Copy link
Contributor

This fixes a regression introduced in #82574.

The test case demonstrates the issue: we would incorrectly choose the base class overload of == if one of the parameters was an archetype or dynamic Self.

Fixes rdar://156454697.

…sInContext()

This fixes a regression introduced in swiftlang#82574.

The test case demonstrates the issue: we would incorrectly choose the base class
overload of == if one of the parameters was an archetype or dynamic Self.

Fixes rdar://156454697.
@slavapestov slavapestov requested review from hborla and xedin as code owners July 23, 2025 21:23
@slavapestov
Copy link
Contributor Author

@swift-ci Please smoke test

@slavapestov
Copy link
Contributor Author

@swift-ci Please test source compatibility

Copy link
Contributor

@xedin xedin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@xedin
Copy link
Contributor

xedin commented Jul 24, 2025

Debug source compat suite failure is unrelated:

21:19:41  Deleting build and source directories...
21:25:09  Cancelling nested steps due to timeout

@slavapestov slavapestov merged commit c472c22 into swiftlang:main Jul 24, 2025
4 of 5 checks passed
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.

3 participants