Skip to content

[Foundation] 1-ary IndexPath forms invalid range on slices #10311

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
Jun 17, 2017

Conversation

phausler
Copy link
Contributor

@phausler phausler commented Jun 16, 2017

1-ary IndexPaths incorrectly implemented slicing for ranges of 1..<1

This resolves swiftlang/swift-corelibs-foundation#3851.

@phausler
Copy link
Contributor Author

@swift-ci please test

@jrose-apple
Copy link
Contributor

Can you add a test case?

(Also, don't forget to cherry-pick this to the 4.0 branch when ready.)

@swift-ci
Copy link
Contributor

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit - 408a462e1085bb15cf20f8e2e581ab87bcf221d4
Test requested by - @phausler

@phausler
Copy link
Contributor Author

@swift-ci please test and merge

@phausler phausler merged commit 29f080f into swiftlang:master Jun 17, 2017
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.

3 participants