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

Warn for calling public/protected/private/module_function without arguments inside method #2562

Merged

Conversation

jeremyevans
Copy link
Contributor

Calling these methods without an argument does not have the desired effect inside a method.

Fixes Ruby Bug 13249

…uments inside method

Calling these methods without an argument does not have the
desired effect inside a method.

Fixes [Bug #13249]
@jeremyevans jeremyevans merged commit 2993b24 into ruby:master Oct 16, 2019
@jeremyevans jeremyevans deleted the warn-scope-visibility-in-method-13249 branch October 16, 2019 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant