-
Notifications
You must be signed in to change notification settings - Fork 103
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
RuboCop: useless assignment bug? #39
Comments
Hey @lencioni, I'm unable to reproduce this locally. My guess is an unsaved Let me know if you still are able to reproduce and we can investigate further. |
I am able to reproduce this consistently. I did just now by creating a new file with the contents I specified above and ran haml-lint on just that file via the command line. haml-lint 0.7.0, rubocop 0.27.1. When I run
I can show you at the office tomorrow if you are interested. |
Interesting. I can't reproduce this on CentOS or Mac OS X Yosemite after uninstalling/installing |
This seems to have something to do with your system running the latest version of the This version likely mucked around with the parse tree representation. Will have a look when I can. |
I'm not sure if this is a bug in haml-lint or RuboCop, but haml-lint 0.7.0 and rubocop 0.26.1, I get a problem on line 1 of the following haml file:
The text was updated successfully, but these errors were encountered: