-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Wrong offence detected? #214
Comments
What's the offence? |
EDIT
|
Hmm, I don't see an offence for this bit of code when I test locally. @jonas054, any ideas? |
I have been able to reproduce the problem on jruby-1.7.4, but not on ruby-1.9.3-p194 or ruby-2.0.0-p0. DOS/Unix line endings did not make a difference and parser version (beta2/beta3) dind't either. @jatap Were you running on JRuby? |
I guess we might ask @whitequark to have a look at this as well - if it's a Parser bug on JRuby. We also have to understand if the Rubinius build is broken by a RuboCop/Parser/Rubinius bug. @whitequark, can you have a quick look here https://travis-ci.org/bbatsov/rubocop/jobs/7597994 and let us know what do you think? |
I think the problem is within rubocop. We have a problem with hashes without braces, in this case |
Go ahead and fix it, @jonas054. I'll be having a computerless evening tonight :-) |
Sorry about delay. I'm gonna check use case again. |
Thanks for your work. |
New 0.8.0 version throws this offence:
C: 76: Space inside hash literal braces missing.
0.7.2 marks as valid
The text was updated successfully, but these errors were encountered: