Skip to content

[AST] Remove static loc and spelling kind from AccessorDecl #70326

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 8, 2023

Conversation

hamishknight
Copy link
Contributor

The spelling kind was only ever set to StaticSpellingKind::None, and the static location was never used for anything (and should be queried on the storage anyway). This doesn't affect the computation of isStatic since IsStaticRequest already takes the static-ness from the storage for accessors.

The spelling kind was only ever set to
`StaticSpellingKind::None`, and the static location
was never used for anything (and should be queried
on the storage anyway). This doesn't affect the
computation of `isStatic` since `IsStaticRequest`
already takes the static-ness from the storage for
accessors.
@hamishknight
Copy link
Contributor Author

@swift-ci please test

Copy link
Member

@rintaro rintaro left a comment

Choose a reason for hiding this comment

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

I don't find a reason not to remove.

@hamishknight hamishknight merged commit 201a5d0 into swiftlang:main Dec 8, 2023
@hamishknight hamishknight deleted the static-static branch December 9, 2023 00:00
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