Skip to content

Fix NSArray.indexOfObject(inSortedRange:options:usingComparator) for fringe cases #130

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 8 commits into from
Dec 18, 2015

Conversation

HeMet
Copy link
Contributor

@HeMet HeMet commented Dec 11, 2015

No description provided.

…fringe cases.

Fix error message for case when range exceeds empty NSArray.
If nothing found in specified range and .InsertionIndex option is specified method returns index of range' end not receiver' end.
If range is empty and .InsertionIndex option is specified method return index of range' location.
@parkera parkera self-assigned this Dec 12, 2015
@parkera parkera assigned phausler and unassigned parkera Dec 16, 2015
@parkera
Copy link
Contributor

parkera commented Dec 16, 2015

@phausler you're in the middle of this NSArray work, I think you should take a look at this one

@phausler
Copy link
Contributor

looks ok to me.

phausler added a commit that referenced this pull request Dec 18, 2015
Fix NSArray.indexOfObject(inSortedRange:options:usingComparator) for fringe cases
@phausler phausler merged commit fff27d9 into swiftlang:master Dec 18, 2015
atrick pushed a commit to atrick/swift-corelibs-foundation that referenced this pull request Jan 12, 2021
[build-script-helper] Add a search path to be able to find `Block.h` from the just built toolchain
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