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

force_unwrapping: false positive when using ! as boolean operator #918

Closed
BluMist opened this issue Dec 1, 2016 · 2 comments
Closed

force_unwrapping: false positive when using ! as boolean operator #918

BluMist opened this issue Dec 1, 2016 · 2 comments
Labels
bug Unexpected and reproducible misbehavior.

Comments

@BluMist
Copy link

BluMist commented Dec 1, 2016

this trivial example var test = (!false) would trigger an error condition for force_unwrapping

@jpsim jpsim added the bug Unexpected and reproducible misbehavior. label Dec 1, 2016
@jpsim
Copy link
Collaborator

jpsim commented Dec 1, 2016

Confirmed in 0.13.2

@wlisac
Copy link

wlisac commented Dec 21, 2016

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unexpected and reproducible misbehavior.
Projects
None yet
Development

No branches or pull requests

3 participants