-
-
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
rubocop -a infinite colons on an empty comment annotation #1901
Comments
l8nite
changed the title
rubocop -a hangs on a comment line
rubocop -a infinite colons on an empty comment annotation
May 16, 2015
rrosenblum
added a commit
to rrosenblum/rubocop
that referenced
this issue
May 19, 2015
rrosenblum
added a commit
to rrosenblum/rubocop
that referenced
this issue
May 19, 2015
rrosenblum
added a commit
to rrosenblum/rubocop
that referenced
this issue
May 24, 2015
rrosenblum
added a commit
to rrosenblum/rubocop
that referenced
this issue
May 25, 2015
rrosenblum
added a commit
to rrosenblum/rubocop
that referenced
this issue
May 26, 2015
rrosenblum
added a commit
to rrosenblum/rubocop
that referenced
this issue
May 26, 2015
rrosenblum
added a commit
to rrosenblum/rubocop
that referenced
this issue
May 26, 2015
rrosenblum
added a commit
to rrosenblum/rubocop
that referenced
this issue
May 26, 2015
rrosenblum
added a commit
to rrosenblum/rubocop
that referenced
this issue
May 27, 2015
rrosenblum
added a commit
to rrosenblum/rubocop
that referenced
this issue
May 28, 2015
rrosenblum
added a commit
to rrosenblum/rubocop
that referenced
this issue
May 29, 2015
bbatsov
added a commit
that referenced
this issue
May 29, 2015
[Fix #1901] Do not correct comments that are missing a note
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here is a small file that reproduces the issue:
Here, we can see that rubocop is correctly identifying the
Style/CommentAnnotations
violation:When running auto-correct, we get a hang that looks like it's stuck in an infinite loop:
In fact, the "fixed" file now has a bunch of colons in it:
The text was updated successfully, but these errors were encountered: