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

Issue with auto-correcting multi-line strings #1735

Closed
ymzong opened this issue Mar 23, 2015 · 0 comments
Closed

Issue with auto-correcting multi-line strings #1735

ymzong opened this issue Mar 23, 2015 · 0 comments
Assignees
Labels

Comments

@ymzong
Copy link

ymzong commented Mar 23, 2015

Running --auto-correct on the following script (note the trailing space on the first line):

a = "foo" +
    "bar"

gives (note the trailing space on the first line):

a = "foo" \⋅
    "bar"

However, this is not valid ruby syntax.

@jonas054 jonas054 self-assigned this Mar 25, 2015
@jonas054 jonas054 added the bug label Mar 25, 2015
bbatsov added a commit that referenced this issue Mar 28, 2015
…space

[Fix #1735] Handle trailing space in LineEndConcatenation autocorrect
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

2 participants