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

Triple aggressive moves binary operator from beginning of line into comment at end of previous line #323

Closed
eli-b opened this issue Apr 27, 2017 · 1 comment
Assignees
Labels

Comments

@eli-b
Copy link

eli-b commented Apr 27, 2017

Using --aggressive --aggressive --aggressive, this:

x = (
    1111111111111111111111111111111111111111111111111111  # C1
    and 1111111111111111111111111111111111111111111111111111  # C2
    and 1111111111111111111111111111111111111111111111111111  # C3
)

is turned into this (bug):

x = (
    1111111111111111111111111111111111111111111111111111  # C1 and
    1111111111111111111111111111111111111111111111111111  # C2 and
    1111111111111111111111111111111111111111111111111111  # C3
)

Using --aggressive --aggressive doesn't reproduce this error.

@myint myint added the bug label Apr 27, 2017
@myint
Copy link
Collaborator

myint commented Apr 27, 2017

I think this may have been introduced in commit 0d28a5b.

@hhatto hhatto self-assigned this Apr 27, 2017
hhatto pushed a commit that referenced this issue Jun 28, 2017
@hhatto hhatto mentioned this issue Jun 28, 2017
@hhatto hhatto closed this as completed Jun 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants