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

! before bool identified as forced unwrapping #578

Closed
brandonskane opened this issue Mar 3, 2016 · 2 comments
Closed

! before bool identified as forced unwrapping #578

brandonskane opened this issue Mar 3, 2016 · 2 comments

Comments

@brandonskane
Copy link

I'm on 0.9.1 and bools that have a "!" in front of them are incorrectly identified as a force unwrap. I need to change the !variable to variable == false for the error to go away.

@norio-nomura
Copy link
Collaborator

Duplicate of #547

@jpsim
Copy link
Collaborator

jpsim commented Mar 4, 2016

Closing as duplicate.

@jpsim jpsim closed this as completed Mar 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants