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 #1211

Closed
keith opened this issue Jan 18, 2017 · 3 comments
Closed

shorthand_operator false positive #1211

keith opened this issue Jan 18, 2017 · 3 comments
Labels
bug Unexpected and reproducible misbehavior.

Comments

@keith
Copy link
Collaborator

keith commented Jan 18, 2017

var foo = [3, 4]
var bar = [1, 2]
foo = bar + foo

This generates a warning to use += instead, which doesn't work here because of the ordering.

@keith
Copy link
Collaborator Author

keith commented Jan 18, 2017

@marcelofabri you might be interested in this one.

@marcelofabri marcelofabri added the bug Unexpected and reproducible misbehavior. label Jan 18, 2017
@marcelofabri
Copy link
Collaborator

Fixed in #1212.

@keith
Copy link
Collaborator Author

keith commented Jan 20, 2017

Thanks!

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

2 participants