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

Remove an extra assertion #186

Merged
merged 1 commit into from
Jan 6, 2017
Merged

Remove an extra assertion #186

merged 1 commit into from
Jan 6, 2017

Conversation

nobu
Copy link
Member

@nobu nobu commented Jan 4, 2017

As the result of https://bugs.ruby-lang.org/issues/13043, now Exception#cause should not have a loop.

In the example jimweirich#272, the code doesn't seem to intend the loop itself but just re-raising the first exception instead of the next exception. Therefore I consider the last assertion superfluous.

As the result of https://bugs.ruby-lang.org/issues/13043, now
Exception#cause should not have a loop.

In the example jimweirich#272, the
code doesn't seem to intend the loop itself but just re-raising
the first exception instead of the next exception.  Therefore I
consider the last assertion superfluous.
@hsbt
Copy link
Member

hsbt commented Jan 6, 2017

Make sense. Thank you.

@hsbt hsbt merged commit d093f67 into ruby:master Jan 6, 2017
@nobu nobu deleted the bug/case-loop branch January 6, 2017 05:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants