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

[Diagnostics] Skip overloaded locations where all solutions have the same type #66035

Merged
merged 2 commits into from
Jun 16, 2023

Conversation

xedin
Copy link
Member

@xedin xedin commented May 19, 2023

If there are multiple overloads, let's skip locations that produce
the same type across all of the solutions, such location is most
likely a consequence of ambiguity and not its source.

Resolves: rdar://109245375

@xedin xedin requested a review from hborla as a code owner May 19, 2023 22:49
@xedin
Copy link
Member Author

xedin commented May 19, 2023

@swift-ci please test

@xedin
Copy link
Member Author

xedin commented May 19, 2023

@swift-ci please test

…same type

If there are multiple overloads, let's skip locations that produce
the same type across all of the solutions, such location is most
likely a consequence of ambiguity and not its source.

Resolves: rdar://109245375
@xedin
Copy link
Member Author

xedin commented May 20, 2023

@swift-ci please test

@xedin
Copy link
Member Author

xedin commented May 20, 2023

@swift-ci please test macOS platform

Copy link
Member

@hborla hborla left a comment

Choose a reason for hiding this comment

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

Nice!

@xedin
Copy link
Member Author

xedin commented Jun 16, 2023

@swift-ci please smoke test

@xedin xedin merged commit f8bde21 into apple:main Jun 16, 2023
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.

None yet

2 participants