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

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

Comments

Projects
None yet
1 participant
Contributor

bitwiseman commented Mar 25, 2013

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

Preserve newlines on either side of ++ and --
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