Skip to content

Swift 3 Backward Compatibility Fixes #10974

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
Jul 15, 2017

Conversation

dabrahams
Copy link
Contributor

Fixes rdar://33307780

@dabrahams
Copy link
Contributor Author

@swift-ci Please test

@dabrahams
Copy link
Contributor Author

See also #10970 for the master branch

@swift-ci
Copy link
Contributor

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - 206a010eb3755c598b8dc7b1796520b1a1f4a65e
Test requested by - @dabrahams

Dave Abrahams added 2 commits July 14, 2017 15:25
Since samePosition(in:) now unconditionally returns optionals,
String.UTF16View.Index.distance(to: String.UTF16View.Index) must accept an
optional to keep some code working.

Fixes <rdar://33307780>.
Otherwise, the result would have been an infinite recursion.
@dabrahams dabrahams force-pushed the rdar-33307780-swift-4.0-branch branch from 206a010 to ea2c200 Compare July 14, 2017 22:27
@dabrahams
Copy link
Contributor Author

@swift-ci Please test

@dabrahams dabrahams merged commit 0e7d41d into swift-4.0-branch Jul 15, 2017
@dabrahams dabrahams deleted the rdar-33307780-swift-4.0-branch branch July 15, 2017 00:26
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