Skip to content

[6.1][Index] Skip adding call relations to deduction guides #9949

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

Merged

Conversation

bnbarham
Copy link

@bnbarham bnbarham commented Feb 4, 2025

  • Explanation: Deduction guides have no name and we already skip adding occurrences to them for that reason. Also skip adding any relations to them.
  • Scope: Indexing
  • Risk: Low, just skips adding a relation that would otherwise assert
  • Tests: Added a new test for the crashing case
  • Issues: rdar://142421120
  • Reviewers: TBD
  • Original PR: [Index] Skip adding call relations to deduction guides #9947

Deduction guides have no name and we already skip adding occurrences to
them for that reason. Also skip adding any relations to them.

Resolves rdar://142421120.

(cherry picked from commit 88c7f03)
@bnbarham bnbarham requested a review from a team as a code owner February 4, 2025 00:54
@bnbarham
Copy link
Author

bnbarham commented Feb 4, 2025

@swift-ci please test

@bnbarham bnbarham merged commit d9af428 into swiftlang:swift/release/6.1 Feb 4, 2025
3 checks passed
@bnbarham bnbarham deleted the 6.1-skip-deduction-calls branch February 4, 2025 17:13
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.

2 participants