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

Unary -- and ++ operators still misformatted in some scenarios #203

Open
bitwiseman opened this issue Mar 25, 2013 · 0 comments
Open

Unary -- and ++ operators still misformatted in some scenarios #203

bitwiseman opened this issue Mar 25, 2013 · 0 comments

Comments

@bitwiseman
Copy link
Member

With fixing issue #56 by preserving newlines on either side of --/++, I introduced a new less severe bug. Under the new code the newlines on either side of this code will be preserved:

foo
++
bar();

According to spec, the parsed meaning of this is:

foo
++bar;
bitwiseman added a commit that referenced this issue Mar 25, 2013
This closes #56 and openes the new less severe case of #203.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant