-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Style/EvalWithLocation error #9433
Labels
Comments
Just ran into this error, too.
|
koic
added a commit
to koic/rubocop
that referenced
this issue
Jan 28, 2021
Fixes rubocop#9433 This PR fixes an error for `Style/EvalWithLocation` when using eval with block argument.
8 tasks
I got very similar stacktrace for this cop:
on this test file:
which reproduce only if there is
on
Not sure if this is same bug, I can create another issue if this is different problems |
@ShockwaveNN can you create a separate issue please? |
@dvandersluis Done, #9440 |
dvandersluis
added a commit
that referenced
this issue
Jan 28, 2021
…ocation [Fix #9433] Fix an error for `Style/EvalWithLocation`
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Rubocop announces:
Mention the following information in the issue report:
1.9.0 (using Parser 3.0.0.0, rubocop-ast 1.4.1, running on ruby 2.7.2 x86_64-linux)
Expected behavior
rubocop doesn't error
Actual behavior
rubocop errors
Steps to reproduce the problem
The code in question looks like this:
end
RuboCop version
1.9.0
The text was updated successfully, but these errors were encountered: