Skip to content

Mark FileManager.createFile as @discardableResult #1742

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 30, 2018
Merged

Mark FileManager.createFile as @discardableResult #1742

merged 1 commit into from
Oct 30, 2018

Conversation

keith
Copy link
Member

@keith keith commented Oct 30, 2018

On iOS / macOS this API comes from Objective-C which is implicitly
@discardableResult, this means it doesn't warn on those platforms, but
previously did on Linux

On iOS / macOS this API comes from Objective-C which is implicitly
@discardableResult, this means it doesn't warn on those platforms, but
previously did on Linux
@dduan
Copy link
Contributor

dduan commented Oct 30, 2018

@swift-ci test

@millenomi
Copy link
Contributor

I'm really not into adding this piecemeal. It's fine, but we should do it to all the equivalent API, or none.

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