Skip to content

Inconsistent naming of properties for retrieving a generic parameter clause on decl nodes #1678

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

Closed
AnthonyLatsis opened this issue May 18, 2023 · 3 comments · Fixed by #1686
Assignees
Labels
bug Something isn't working

Comments

@AnthonyLatsis
Copy link
Contributor

Description

All applicable declaration nodes except EnumDeclSyntax use genericParameterClause. The respective property of EnumDeclSyntax is called genericParameters.

Environment

93e905c

Steps to Reproduce

No response

@AnthonyLatsis AnthonyLatsis added the bug Something isn't working label May 18, 2023
@ahoppen
Copy link
Member

ahoppen commented May 18, 2023

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

@TTOzzi
Copy link
Member

TTOzzi commented May 21, 2023

Hello @ahoppen @kimdv !
Could you please assign me to this task?
I plan to change the genericParameters of EnumDeclSyntax to genericParameterClause uniformly and keep the existing genericParameters with a deprecated annotation.

@TTOzzi
Copy link
Member

TTOzzi commented May 21, 2023

Thank you kimdv! 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants