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

Specify attributes inside #if before any unconditional attributes #2548

Merged
merged 1 commit into from
Mar 21, 2024

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Mar 19, 2024

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

Fixes #2546
rdar://124979624

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 19, 2024 11:27
@ahoppen
Copy link
Member Author

ahoppen commented Mar 19, 2024

@swift-ci Please test

@dabrahams
Copy link
Contributor

Maybe you should consider adding testing older compilers to your CI

@ahoppen ahoppen merged commit d7a4b5f into swiftlang:main Mar 21, 2024
3 checks passed
@ahoppen ahoppen deleted the ahoppen/pound-if-after-attribute branch March 21, 2024 09:28
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.

Possible compiler backward compatibility problem
3 participants