Skip to content

5.1 Syntax Updates (NFCI) #2435

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 2 commits into from
Aug 17, 2019
Merged

5.1 Syntax Updates (NFCI) #2435

merged 2 commits into from
Aug 17, 2019

Conversation

compnerd
Copy link
Member

Update the Foundation implementation for Swift 5.1 syntax changes. NFCI

@compnerd
Copy link
Member Author

@swift-ci please test Linux platform

@millenomi
Copy link
Contributor

@swift-ci please test

Replace `@_fixed_layout` and `@_frozen` with the new `@frozen`
attribute.  This avoids the warnings during the build.  NFC.
Replace `rint` and `nearbyint` to `.rounded(.toNearestOrEven)` as
recommended by the deprecation warnings when building Foundation.  NFC.
@compnerd
Copy link
Member Author

compnerd commented Aug 3, 2019

@swift-ci please test

@millenomi millenomi merged commit 789fd59 into swiftlang:master Aug 17, 2019
@compnerd compnerd deleted the 5.1 branch August 17, 2019 20:36
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