Skip to content

The sortedArrayUsingComparator method doesn't work correctly #157

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
Dec 18, 2015

Conversation

sgl0v
Copy link
Contributor

@sgl0v sgl0v commented Dec 17, 2015

The sortedArrayUsingComparator method doesn't work correctly. Under the hood it uses the Array's sort method. We used to provide wrong elements ordering via isOrderedBefore closure.

Fixed the root cause and implemented unit tests.

@sgl0v sgl0v changed the title The sortedArrayUsingComparator method didn't work correctly The sortedArrayUsingComparator method doesn't work correctly Dec 17, 2015
@sgl0v sgl0v changed the title The sortedArrayUsingComparator method doesn't work correctly The sortedArrayUsingComparator method doesn't work correctly Dec 17, 2015
@phausler phausler merged commit be92bd8 into swiftlang:master Dec 18, 2015
atrick pushed a commit to atrick/swift-corelibs-foundation that referenced this pull request Jan 12, 2021
Add support for file watching in the build server protocol
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