-
-
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
False-Positive in Lint/DuplicateMethods for dynamic classes #2726
Comments
This was fixed on |
My bad - I was thinking of a similar problem #2707 |
This is fixed in my open PR. |
This is fixed on |
Confirmed. The fix was released in 0.37.1. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I just updated from
0.35.1
to0.36.0
and received an error forLint/DuplicateMethods
in a code similar to this:Running rubocop on this file will give the following error:
I think this was introduced by the improvements in 1f9c639. I'm well aware that we can argue about the code itself but I don't think this should be a
Lint/DuplicateMethods
violation since they are both valid.I'm not sure how to fix this thus I'm just reporting ;-)
The text was updated successfully, but these errors were encountered: