We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Style/ArgumentsForwarding
Offense for the following:
def foo(*args) super(*args, bar: "baz") end # Autocorrect: def foo(*) super(*, bar: "baz") end
The same also applies to kwargs and blocks, if the Ruvy version supports that syntax.
It only considers send nodes.
$ [bundle exec] rubocop -V 1.63.5 (using Parser 3.3.0.5, rubocop-ast 1.31.2, running on ruby 3.3.1) [x86_64-linux] - rubocop-performance 1.21.0 - rubocop-rake 0.6.0 - rubocop-rspec 2.29.1
The text was updated successfully, but these errors were encountered:
[Fix rubocop#12919] Fix false negatives for Style/ArgumentsForwarding
ca48f1a
Fixes rubocop#12919. This PR fixes false negatives for `Style/ArgumentsForwarding` when forward target is `super`.
[Fix #12919] Fix false negatives for Style/ArgumentsForwarding
a909dda
Fixes #12919. This PR fixes false negatives for `Style/ArgumentsForwarding` when forward target is `super`.
Successfully merging a pull request may close this issue.
Expected behavior
Offense for the following:
The same also applies to kwargs and blocks, if the Ruvy version supports that syntax.
Actual behavior
It only considers send nodes.
Steps to reproduce the problem
RuboCop version
The text was updated successfully, but these errors were encountered: