-
-
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
Style/InfiniteLoop autofix may introduce syntax errors #3207
Comments
Thanks! |
jonas054
added a commit
to jonas054/rubocop
that referenced
this issue
Jun 19, 2016
Second correction for rubocop#3207. Change it so we auto-correct instead of accept modifier forms. Also add handling of begin-end-while.
bbatsov
pushed a commit
that referenced
this issue
Jun 19, 2016
Second correction for #3207. Change it so we auto-correct instead of accept modifier forms. Also add handling of begin-end-while.
Neodelf
pushed a commit
to Neodelf/rubocop
that referenced
this issue
Oct 15, 2016
Don't try to convert these to Kernel#loop.
Neodelf
pushed a commit
to Neodelf/rubocop
that referenced
this issue
Oct 15, 2016
Second correction for rubocop#3207. Change it so we auto-correct instead of accept modifier forms. Also add handling of begin-end-while.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected behavior
Style/InfiniteLoop autofix produces equivalent code or do nothing
Actual behavior
is replaced by
resulting in
Steps to reproduce the problem
Run rubocop -a on file with
RuboCop version
Include the output of
rubocop -V
:The text was updated successfully, but these errors were encountered: