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

Inifinite loop on freeze #3069

Closed
guyisra opened this issue Apr 22, 2016 · 0 comments
Closed

Inifinite loop on freeze #3069

guyisra opened this issue Apr 22, 2016 · 0 comments

Comments

@guyisra
Copy link

guyisra commented Apr 22, 2016

On a line such as

  ORIGINATOR = *%w{Request User Params}

After running rubocop -a results in

  ORIGINATOR = *%w{Request User Params}.freeze.freeze.freeze.freeze.freeze.freeze.freeze.freeze.freeze.freeze.freeze.freeze.freeze.freeze.freeze.freeze.freeze.freeze.freeze.freeze.freeze.freeze.freeze.freeze.freeze.freeze.freeze.freeze.freeze.freeze.freeze.freeze.freeze ....

and getting the error

gems/rubocop-0.39.0/lib/rubocop/runner.rb:167:in `block in do_inspection_loop': Infinite loop detected in file.rb. (RuboCop::Runner::InfiniteCorrectionLoop)

@owst owst mentioned this issue Apr 23, 2016
9 tasks
owst added a commit to owst/rubocop that referenced this issue Apr 23, 2016
Neodelf pushed a commit to Neodelf/rubocop that referenced this issue Oct 15, 2016
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

No branches or pull requests

1 participant