-
Notifications
You must be signed in to change notification settings - Fork 3
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
Incompatibility with Ruby 2.5 #58
Comments
This appears to be Rubocop poorly implementing an upcoming Ruby 2.6 warning, and the cop has already been disabled: rubocop/rubocop#5887, rubocop/rubocop@9f976de
I dislike Rubocop, you won't be surprised to hear. I hate even more that they're issuing warnings about versions of the language that aren't even published yet; and the fact that they're getting those warnings wrong is just contemptible. |
It’s not about rubocop — it’s a real runtime crash... will find you the block later. |
This line fails on Ruby 2.5: Ruby 2.5 thinks that there are two blocks. |
Resolved all instances: wrapped double splat function arguments in parens. |
Under Ruby 2.5, the code block with
**p
will return an error in parsing.The text was updated successfully, but these errors were encountered: