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

Shorthand Operator False Positive - ternaries #1183

Closed
ghost opened this issue Jan 13, 2017 · 1 comment
Closed

Shorthand Operator False Positive - ternaries #1183

ghost opened this issue Jan 13, 2017 · 1 comment
Labels
bug Unexpected and reproducible misbehavior.

Comments

@ghost
Copy link

ghost commented Jan 13, 2017

Not sure where it's going wrong, but here is a sample:

var angle = atan2(a.y - b.y, a.x - b.x)
angle = someCheck ? angle : -angle
@marcelofabri marcelofabri added the bug Unexpected and reproducible misbehavior. label Jan 13, 2017
@marcelofabri
Copy link
Collaborator

Fixed in #1212.

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

1 participant