Skip to content

[6.0] SE-0425 implementation #72783

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 5 commits into from
Apr 4, 2024

Conversation

stephentyrone
Copy link
Contributor

@stephentyrone stephentyrone commented Apr 2, 2024

Implement [U]Int128 for Swift 6.0

- Explanation: Implements [U]Int128 according to SE-0425.
- Scope: Introduces two new types with Swift 6.0 availability, together with new protocol requirements on encoder/decoder implementations.
- Issue: https://github.com/apple/swift-evolution/blob/main/proposals/0425-int128.md
- Original PR: #72139
- Risk: Low. The risk primarily comes from changes to encoders and decoders and to Atomic; otherwise we are only introducing a new type and the API to support it, which should not effect existing code.
- Testing: New tests added to the swift test suite.
- Reviewer: @lorentey, @Azoy

Resolves rdar://122958984

@stephentyrone stephentyrone requested a review from a team as a code owner April 2, 2024 20:27
@stephentyrone stephentyrone requested review from lorentey and Azoy April 2, 2024 20:33
@stephentyrone
Copy link
Contributor Author

@swift-ci test

If an encoding container conforms to _both_ UEC and SVEC and does not
itself implement support for [U]Int128, there is an ambiguity between
the two default implementations. Add additional defaults defined on
the intersection of the protocols to resolve this.
@stephentyrone
Copy link
Contributor Author

@swift-ci test

@stephentyrone
Copy link
Contributor Author

@swift-ci test

@stephentyrone
Copy link
Contributor Author

@swift-ci test source compatibility

@stephentyrone
Copy link
Contributor Author

@swift-ci test

@stephentyrone
Copy link
Contributor Author

@swift-ci test source compatibility

@stephentyrone stephentyrone merged commit bef8b61 into swiftlang:release/6.0 Apr 4, 2024
@stephentyrone stephentyrone deleted the int128-6.0 branch April 4, 2024 12:10
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