-
-
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
An error occurred while Style/ExplicitBlockArgument #9497
Labels
Comments
8 tasks
koic
added a commit
to koic/rubocop
that referenced
this issue
Feb 9, 2021
Fixes rubocop#9497. This PR fixes an error for `Style/ExplicitBlockArgument` when `yield` is inside block of `super`.
koic
added a commit
that referenced
this issue
Feb 10, 2021
…ock_argument [Fix #9497] Fix an error for `Style/ExplicitBlockArgument`
This was referenced Mar 6, 2021
Closed
This was referenced Mar 15, 2021
This was referenced Mar 17, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Rubocop fails to process file with following code
Expected behavior
Got an error message "Consider using explicit block argument in the surrounding method's signature over
yield
."Actual behavior
Got "An error occurred while Style/ExplicitBlockArgument"
Stacktrace
Steps to reproduce the problem
Run
rubocop -d
on file with following contentswith no additional configuration
RuboCop version
The text was updated successfully, but these errors were encountered: