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
Infinite loop, with a code sample #12307
Labels
Comments
koic
added a commit
to koic/rubocop
that referenced
this issue
Oct 25, 2023
Fixes rubocop#12307. This PR fixes an infinite loop error for `Layout/EndAlignment` when `EnforcedStyleAlignWith: variable` and using a conditional statement in a method argument on the same line and `end` with method call is not aligned.
8 tasks
bbatsov
pushed a commit
that referenced
this issue
Oct 25, 2023
Fixes #12307. This PR fixes an infinite loop error for `Layout/EndAlignment` when `EnforcedStyleAlignWith: variable` and using a conditional statement in a method argument on the same line and `end` with method call is not aligned.
fdr
added a commit
to ubicloud/ubicloud
that referenced
this issue
Nov 8, 2023
Previously this triggered an infinite loop in rubocop, but we just had the opportunity (given the `standard` gem) to upgrade to the newest version that fixes it. I reported that bug: rubocop/rubocop#12307
fdr
added a commit
to ubicloud/ubicloud
that referenced
this issue
Nov 8, 2023
Previously this triggered an infinite loop in rubocop, but we just had the opportunity (given the `standard` gem) to upgrade to the newest version that fixes it. I reported that bug: rubocop/rubocop#12307
fdr
added a commit
to ubicloud/ubicloud
that referenced
this issue
Nov 8, 2023
Previously this triggered an infinite loop in rubocop, but we just had the opportunity (given the `standard` gem) to upgrade to the newest version that fixes it. I reported that bug: rubocop/rubocop#12307
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Formatting this code crashes:
Expected behavior
It shouldn't have crashed.
Actual behavior
It crashed. Here's the output from
--debug
Steps to reproduce the problem
Put the code sample into a file, and run rubocop -A on that file.
RuboCop version
The text was updated successfully, but these errors were encountered: