You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…ition`
Fixesrubocop#11704.
This PR fixes a false positive for `Lint/UselessMethodDefinition`
when method definition with non access modifier containing only `super` call.
Fixes#11704.
This PR fixes a false positive for `Lint/UselessMethodDefinition`
when method definition with non access modifier containing only `super` call.
Expected behavior
The following code should not get picked up / auto-corrected by the
UselessMethodDefinition
cop:(illustrated here in conjunction with Memery, but this applies more generally)
Actual behavior
The code gets auto-corrected to the following invalid code:
memoize
The text was updated successfully, but these errors were encountered: