Skip to content
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

Fix warning #204

Merged
merged 1 commit into from
Jun 7, 2017
Merged

Fix warning #204

merged 1 commit into from
Jun 7, 2017

Conversation

jakepetroules
Copy link
Contributor

Fixes warning "String interpolation produces a debug description for an optional value; did you mean to make this explicit?"

Fixes warning "String interpolation produces a debug description for an optional value; did you mean to make this explicit?"
@p2
Copy link
Owner

p2 commented Jun 4, 2017

Hmm, I do not get that warning with Swift 3.1. Which Swift version are you on?

@jakepetroules
Copy link
Contributor Author

Apple Swift version 3.1 (swiftlang-802.0.53 clang-802.0.42) - the one that comes with Xcode 8.3.2.

This code is of course better style anyways, since you should avoid force unwrapped optionals.

@p2
Copy link
Owner

p2 commented Jun 7, 2017

Same Xcode version, I don't see the warning. But oh well, might as well accept.

@p2 p2 merged commit 863d3a2 into p2:master Jun 7, 2017
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