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
Testcase for rubocop 0.24.1 (using Parser 2.2.0.pre.3, running on ruby 2.1.2 x86_64-darwin13.0):
0.24.1 (using Parser 2.2.0.pre.3, running on ruby 2.1.2 x86_64-darwin13.0)
def foo 1 / 0 rescue RuntimeError => e puts 2 rescue puts e end
or
def foo 1 / 0 rescue RuntimeError => e puts 2 rescue => e 1.times do puts e end end
e is unused in rescue RuntimeError, but rubocop tells that no offenses detected.
e
rescue RuntimeError
The text was updated successfully, but these errors were encountered:
I guess @yujinakayama will take a look at this.
Sorry, something went wrong.
yujinakayama
Successfully merging a pull request may close this issue.
Testcase for rubocop
0.24.1 (using Parser 2.2.0.pre.3, running on ruby 2.1.2 x86_64-darwin13.0)
:or
e
is unused inrescue RuntimeError
, but rubocop tells that no offenses detected.The text was updated successfully, but these errors were encountered: