Skip to content

[SR-1988] Ranges of String.UTF16View.Index have negative count #505

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

DaveLiu888
Copy link
Contributor

@DaveLiu888 DaveLiu888 commented Aug 6, 2016

What's in this pull request?
Ranges of String.UTF16View.Index have negative count
Resolving bug number: 1988 (https://bugs.swift.org/browse/SR-1988)

@DaveLiu888 DaveLiu888 force-pushed the SR-1988-UTF16View-Range-Neg-Count branch from 8d1c13f to c5f89b8 Compare August 6, 2016 09:09
@parkera
Copy link
Contributor

parkera commented Aug 7, 2016

cc @gribozavr @dabrahams

Was this a regression introduced by b097b55 in Swift?

If we need to change this then it should be in both the overlay code in Swift as well as swift-corelibs-foundation.

@DaveLiu888
Copy link
Contributor Author

DaveLiu888 commented Aug 7, 2016

@parkera

Thanks for the heads up, pull submitted here swiftlang/swift#4072.
And yea it looks like the breaking change came in at b097b55

@DaveLiu888 DaveLiu888 force-pushed the SR-1988-UTF16View-Range-Neg-Count branch from c5f89b8 to 9efd4be Compare August 7, 2016 10:31
@DaveLiu888 DaveLiu888 force-pushed the SR-1988-UTF16View-Range-Neg-Count branch from 9efd4be to c519e4b Compare August 7, 2016 10:33
@DaveLiu888
Copy link
Contributor Author

update:
The pull associated with this pull has changed to swiftlang/swift#4073 for its through tests on Strideable which has been already merged

@DaveLiu888 DaveLiu888 force-pushed the SR-1988-UTF16View-Range-Neg-Count branch from 6420b98 to 2eeb88c Compare August 7, 2016 21:26
@DaveLiu888
Copy link
Contributor Author

@parkera The associated swiftlang/swift#4073 pull has been merged.
Is there any thing else i can help with to get this merged?

@parkera parkera merged commit c6758e4 into swiftlang:master Aug 8, 2016
@parkera
Copy link
Contributor

parkera commented Aug 8, 2016

Looks good. Thanks for finding this!

@DaveLiu888
Copy link
Contributor Author

@parkera any time, learning a ton in the processes 😄

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