Skip to content

Ensure directory URL enumerator error handler block is invoked with non-nil URL #5511

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
Oct 28, 2016

Conversation

kperryua
Copy link
Contributor

A band-aid for incorrect Objective-C API behavior, wherein no NSURL is ever passed to the errorHandler block. This diff extracts the relevant URL from the error and passes that instead. There is already a guarantee that either the URL or path key will be present in the error.

@kperryua
Copy link
Contributor Author

@swift-ci Please test and merge

@swift-ci swift-ci merged commit fa13055 into swiftlang:swift-3.0-branch Oct 28, 2016
MaxDesiatov pushed a commit that referenced this pull request Sep 7, 2023
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