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

Add support for Swift macro declarations #1355

Merged
merged 3 commits into from
Aug 7, 2023
Merged

Add support for Swift macro declarations #1355

merged 3 commits into from
Aug 7, 2023

Conversation

johnfairh
Copy link
Collaborator

@johnfairh johnfairh commented Jun 18, 2023

Add handling for the 'macro' declaration type. Dash has a suitable section type.

SourceKit is currently broken for macro decls - swiftlang/swift#66666. Symgraph works OK.

Screenshot 2023-06-18 at 11 42 00
Screenshot 2023-06-18 at 11 43 31

Another problem: doc comments for macro parameters aren't identified properly. Will wait and see how this changes over the betas before trying to work around.

@johnfairh johnfairh merged commit bd8803f into master Aug 7, 2023
4 checks passed
@johnfairh johnfairh deleted the jf-macro-decl branch August 7, 2023 11:41
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.

1 participant