Skip to content

Parse @_specialize with a complete availability clause #2816

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

DougGregor
Copy link
Member

@_specialize can also use the form of the availability clause that separates the platform name from the introduced: argument label. Parse this more general form.

@DougGregor
Copy link
Member Author

@swift-ci please test

@DougGregor
Copy link
Member Author

DougGregor commented Aug 22, 2024

I prefer this to the compiler revert, assuming it passes tests

@DougGregor
Copy link
Member Author

swiftlang/swift#76040

@swift-ci please test

@DougGregor DougGregor merged commit 16dc4f8 into swiftlang:main Aug 22, 2024
3 checks passed
@DougGregor DougGregor deleted the specialize-complete-availability branch August 22, 2024 23:18
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