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

trailing_semicolon autocorrect only corrects a single violation #465

Closed
daniel-beard opened this issue Feb 1, 2016 · 2 comments
Closed
Labels
bug Unexpected and reproducible misbehavior.

Comments

@daniel-beard
Copy link
Contributor

If you have more than one trailing semicolon on a single line, autocorrect does not correct all instances, only the final one (issue observed on latest master).

Example:

print("Test");;

swift autocorrect

Gives:

print("Test");
@jpsim jpsim added the bug Unexpected and reproducible misbehavior. label Feb 1, 2016
@jpsim
Copy link
Collaborator

jpsim commented Feb 1, 2016

Thanks for reporting! This should be fairly easy to fix.

@daniel-beard
Copy link
Contributor Author

I have a fix, PR incoming shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unexpected and reproducible misbehavior.
Projects
None yet
Development

No branches or pull requests

2 participants