Skip to content

Include parameters in initializer document symbols #1852

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
merged 1 commit into from
Dec 5, 2024

Conversation

matthewbastien
Copy link
Member

I noticed that initializer document symbols do not contain the initializer's parameters while working on the DocC support. This PR adds the parameters to the symbol name in the same way as functions.

Copy link
Member

@ahoppen ahoppen left a comment

Choose a reason for hiding this comment

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

Beautiful

@matthewbastien
Copy link
Member Author

@swift-ci please test

@matthewbastien matthewbastien merged commit debb5dc into swiftlang:main Dec 5, 2024
3 checks passed
@matthewbastien matthewbastien deleted the document-symbols branch December 5, 2024 21:48
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