Skip to content

[5.0] Implement SE-0239: Add Codable conformance to Range types #21857

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
Jan 19, 2019

Conversation

moiseev
Copy link
Contributor

@moiseev moiseev commented Jan 14, 2019

dlbuckley and others added 2 commits January 14, 2019 14:52
…artialRangeThrough and PartialRangeFrom

(cherry picked from commit c45cdb7)
Implements Encodable and Decodable for ContiguousArray.

(cherry picked from commit 3001244)
@moiseev moiseev requested a review from a team as a code owner January 14, 2019 22:56
@moiseev
Copy link
Contributor Author

moiseev commented Jan 14, 2019

@swift-ci Please test

@anayini
Copy link
Contributor

anayini commented Jan 14, 2019

@airspeedswift @moiseev ❤️ ❤️ ❤️

@@ -1767,6 +1767,40 @@ extension Array : Decodable where Element : Decodable {
}
}

extension ContiguousArray : Encodable where Element : Encodable {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't there be some tests for the ContiguousArray extensions?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, there should. This is being discussed in the comments to
#20715. I'll update the PR once that's done.

@airspeedswift airspeedswift merged commit 89385bd into swiftlang:swift-5.0-branch Jan 19, 2019
@moiseev moiseev deleted the codable-range-5 branch March 19, 2019 20:41
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.

4 participants