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

False positive: "Use def with parentheses when there are arguments" #36

Closed
ghost opened this issue Apr 3, 2013 · 1 comment
Closed
Labels

Comments

@ghost
Copy link

ghost commented Apr 3, 2013

Using Ruby 2.0, the following code block will trigger the "Use def with parentheses when there are arguments" message.

def get_list
  @request.get '/user/list', @credentials
end
@jonas054
Copy link
Collaborator

jonas054 commented Apr 4, 2013

It looks to me like incompatibilities with Ruby 2.0 in def_parentheses.rb are responsible for this error and probably 3 of the 4 failing examples in the Ruby 2.0 build. If anyone wants to tackle it before I get back from vacation in mid April, feel free to do so. Otherwise I will get to it in due course.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants