-
Notifications
You must be signed in to change notification settings - Fork 21
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
We removed too many parentheses #74
Comments
This issue can't be solved until we have a fix for inaka/katana-code#40. |
elbrujohalcon
added a commit
that referenced
this issue
Nov 19, 2020
elbrujohalcon
added a commit
that referenced
this issue
Nov 19, 2020
….74.we_removed_too_many_parenthese
elbrujohalcon
pushed a commit
that referenced
this issue
Nov 19, 2020
This is also problematic with parentheses used in macro calls, not only definitions. Does rebar3_format preserve them now? e.g.
With parens in the call it's 21, without it's 11 |
Good catch, @michalmuskala! And… of course |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The formatter currently formats…
…as…
…which is, of course, wrong.
The result of
?Remains(1, 200)
should be200 - (100 - 1) = 101
and not200 - 100 - 1 = 99
.The text was updated successfully, but these errors were encountered: