Skip to content

bugfix in Linux wrapper: DispatchGroup.leave should call leave, not e… #152

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
Aug 17, 2016

Conversation

dgrove-oss
Copy link
Contributor

…nter!

@MadCoder
Copy link
Contributor

wow, we need this for swift-3.0

@mwwa do we have the same bug in the compiler?

@MadCoder MadCoder merged commit 5526122 into swiftlang:master Aug 17, 2016
@mwwa
Copy link
Contributor

mwwa commented Aug 17, 2016

@MadCoder No, the compiler uses APINotes to rename dispatch_group_leave -> DispatchGroup.leave(self:)

@dgrove-oss
Copy link
Contributor Author

I'm pretty sure it was my own stupid cut & paste error when writing the wrapper. Scary. We really need to get some tests of the Swift API. I found this while debugging a disabled test case in TestNSOperationQueue from the Foundation test suite (test_OperationPriorities was hanging because leave wasn't wired correctly).

@dgrove-oss dgrove-oss deleted the dispatch-group-leave-bugfix branch August 25, 2016 14:01
das pushed a commit that referenced this pull request Feb 21, 2017
bugfix in Linux wrapper: DispatchGroup.leave should call leave, not e…

Signed-off-by: Daniel A. Steffen <dsteffen@apple.com>
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.

4 participants