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

FunctionDecl and similar should have method to get name as "hello(name:surname:)" #2488

Open
ktoso opened this issue Feb 8, 2024 · 2 comments · May be fixed by #2583
Open

FunctionDecl and similar should have method to get name as "hello(name:surname:)" #2488

ktoso opened this issue Feb 8, 2024 · 2 comments · May be fixed by #2583
Assignees
Labels
enhancement New feature or request

Comments

@ktoso
Copy link
Contributor

ktoso commented Feb 8, 2024

It is a common need to print a "name" of a function or variable like: hello(name:), we should add a helper on DeclSyntax for this

See also: https://github.com/apple/swift-syntax/pull/1554/files#diff-9e8c10bde67713af07967e359f29218f8d475994f8618f07c6d7584db7ef1ca9R65-R77

@ktoso ktoso added the enhancement New feature or request label Feb 8, 2024
@ahoppen
Copy link
Member

ahoppen commented Feb 9, 2024

Tracked in Apple’s issue tracker as rdar://122596202

@Matejkob
Copy link
Contributor

I'm on it

@Matejkob Matejkob linked a pull request Apr 2, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants