Skip to content

[5.9][Index] Include generic macro arguments #66968

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
Contributor

  • Explanation: Adds missing generic arguments to the index.
  • Scope: Index
  • Risk: Low, adds new references to the index. There's a small risk that the ASTWalker have an impact outside of indexing, but testing should pick that up.
  • Testing: New index tests for macro expansion generic arguments.
  • Original PR: [Index] Include generic macro arguments #66944

`ASTWalker` was missing a walk into the generic arguments for
freestanding declarations and expressions. `SemaAnnotator` was missing
the walk into the `TypeRepr` when walking over custom attributes.

Resolves rdar://110856428.

(cherry picked from commit 9bc26cb)
@bnbarham bnbarham added 🍒 release cherry pick Flag: Release branch cherry picks swift 5.9 labels Jun 28, 2023
@bnbarham bnbarham requested a review from a team as a code owner June 28, 2023 00:05
@bnbarham
Copy link
Contributor Author

@swift-ci please test

@bnbarham
Copy link
Contributor Author

@swift-ci please test Windows platform

@bnbarham bnbarham merged commit 8cb488d into swiftlang:release/5.9 Jun 28, 2023
@bnbarham bnbarham deleted the cherry-index-macro-generics branch June 28, 2023 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍒 release cherry pick Flag: Release branch cherry picks swift 5.9
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants