Skip to content

Fix DataProtocol.lastRange(of:) (and cherry-pick Data.swift changes from swift-5.0-branch) #25065

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 1 commit into from
May 28, 2019

Conversation

ikesyo
Copy link
Member

@ikesyo ikesyo commented May 25, 2019

DataProtocol.lastRange(of:) is correct in swift-5.0-branch, but not in master and swift-5.1-branch.

The changes are from #21292 (d7fcb87).

… from swift-5.0-branch)

`DataProtocol.lastRange(of:)` is correct in swift-5.0-branch, but not in master and swift-5.1-branch.
@ikesyo
Copy link
Member Author

ikesyo commented May 25, 2019

@swift-ci Please smoke test

@ikesyo
Copy link
Member Author

ikesyo commented May 25, 2019

I will port this into swift-5.1-branch and swift-corelibs-foundation once this is approved/merged.

@ikesyo ikesyo requested review from phausler and itaiferber May 27, 2019 10:53
Copy link
Contributor

@itaiferber itaiferber left a comment

Choose a reason for hiding this comment

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

Good catch, and thanks for this!

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