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

Fix #3043 - SpaceAfterNot offense with parentheses #3064

Merged
merged 2 commits into from
Apr 21, 2016

Conversation

rrosenblum
Copy link
Contributor

This fixes #3043. It appears that this cop would have never worked with parentheses. I am not sure why it wouldn't be configured to work that way. Maybe an oversight.

I also knocked out the TODO and modified the highlight to include the entire expression.

@rrosenblum rrosenblum changed the title Space after not Fix #3043 - SpaceAfterNot offense with parentheses Apr 21, 2016
@bbatsov bbatsov merged commit 361666e into rubocop:master Apr 21, 2016
@rrosenblum rrosenblum deleted the space_after_not branch April 29, 2016 14:05
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

Successfully merging this pull request may close these issues.

Style/SpaceAfterNot doesn't catch not then parenthesis: ! (foo)
3 participants