Skip to content

[swift-4.0-branch][overlay] Port Foundation String extensions to StringProtocol #10947

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

Conversation

moiseev
Copy link
Contributor

@moiseev moiseev commented Jul 13, 2017

  • Explanation: Currently most string extensions in Foundation are on String, which renders them unavailable on Substring. This is a bad user experience, because some of those extensions are quite useful. This change ports these extensions to StringProtocol instead.
  • Scope of Issue: Enables String extensions on Substring.
  • Risk: minimal
  • Reviewed By: Dave Abrahams
  • Testing: Automated test suite
  • Directions for QA: N/A
  • Radar: rdar://problem/32777093

@moiseev
Copy link
Contributor Author

moiseev commented Jul 13, 2017

@swift-ci Please test

@moiseev
Copy link
Contributor Author

moiseev commented Jul 13, 2017

@swift-ci Please Test Source Compatibility

@moiseev moiseev merged commit 058ca94 into swiftlang:swift-4.0-branch Jul 14, 2017
@moiseev moiseev deleted the foundation-string-extensions-4 branch July 14, 2017 23:43
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.

1 participant