Skip to content

Fix to arrange attributeList for attributes starting with ifConfig #800

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
Aug 26, 2024

Conversation

TTOzzi
Copy link
Member

@TTOzzi TTOzzi commented Aug 24, 2024

Resolve #799

It seems that when attributes start with #if, attributes.dropLast is empty, preventing the arrangement of attributeList inside IfConfigDeclSyntax.
Fixed to allow arranging attribute list inside IfConfigDeclSyntax when AttributeListSyntax starts with #if.

Copy link
Member

@allevato allevato left a comment

Choose a reason for hiding this comment

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

Thanks!

@allevato allevato merged commit 7bca483 into swiftlang:main Aug 26, 2024
@TTOzzi TTOzzi deleted the attributes-merged-without-space branch March 7, 2025 00:33
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.

Attributes merged without space
2 participants