Skip to content
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

Handle rescue var::SomeError. #608

Merged
merged 1 commit into from
Nov 5, 2013

Conversation

jonas054
Copy link
Collaborator

@jonas054 jonas054 commented Nov 4, 2013

Namespaces that are in a local variable or returned from a method call. That's a special case we need to handle. Otherwise RescueException can crash.

This is something that occurs when inspecting .../gems/multi_json-1.8.1/lib/multi_json.rb.

Namespaces that are in a local variable or returned from a method call. That's a special case we need to handle. Otherwise RescueException can crash.
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.09%) when pulling fbd1ca7 on jonas054:fix_rescue_exception into d876c6a on bbatsov:master.

bbatsov added a commit that referenced this pull request Nov 5, 2013
@bbatsov bbatsov merged commit 49e75f7 into rubocop:master Nov 5, 2013
@bbatsov
Copy link
Collaborator

bbatsov commented Nov 5, 2013

Nice catch 👍

@jonas054 jonas054 deleted the fix_rescue_exception branch November 5, 2013 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants