-
-
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
Lint/NonLocalExitFromIterator reporting false positive for a return inside a lambda inside RSpec.configure #1803
Comments
//cc @ypresto |
It is false positive without fail, as return in lambda just continues from next line of lambda#call and harmless. It should be fixed somehow. |
This is also a problem for the |
ypresto
added a commit
to ypresto/rubocop
that referenced
this issue
May 26, 2015
ypresto
added a commit
to ypresto/rubocop
that referenced
this issue
May 27, 2015
bbatsov
added a commit
that referenced
this issue
May 27, 2015
…-positive [Fix #1803] Don't warn for return from lambda
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We have the following in the spec helper of one of our projects, to ignore a deprecation warning that we'll keep getting until the next big version of a gem we use is released:
Version 0.30.0 of RuboCop is reporting the following:
There's no iterator here, so this looks like is could be a false positive.
The text was updated successfully, but these errors were encountered: