Skip to content

[6.0] Specify attributes inside #if before any unconditional attributes #2556

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

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Mar 21, 2024

Looks like the Swift 5.7 compiler errors if unconditional attributes are before attributes inside `#if`.

Fixes swiftlang#2546
rdar://124979624
@ahoppen ahoppen requested a review from bnbarham as a code owner March 21, 2024 09:31
@ahoppen
Copy link
Member Author

ahoppen commented Mar 21, 2024

@swift-ci Please test

@ahoppen ahoppen merged commit b12939f into swiftlang:release/6.0 Mar 22, 2024
@ahoppen ahoppen deleted the ahoppen/6.0/pound-if-after-attribute branch March 22, 2024 07:37
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