We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
-else.
- else .
Describe the bug -else. gets formatted to - else .
In otp25. In otp24 it gets formatted to -else. To Reproduce
otp25
otp24
Fomat the following code with otp25:
-if(?OTP_RELEASE >= 25). foo() -> ok. -else. foo() -> ok. -endif.
Expected behavior It gets formatted to -else.
Rebar3 Log Run rebar3 with DEBUG=1 and paste its output here.
DEBUG=1
Additional context It is probably related to else being a keyword in otp25 due to the maybe_expr
else
maybe_expr
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
-else.
gets formatted to- else .
In
otp25
. Inotp24
it gets formatted to-else.
To Reproduce
Fomat the following code with
otp25
:Expected behavior
It gets formatted to
-else.
Rebar3 Log
Run rebar3 with
DEBUG=1
and paste its output here.Additional context
It is probably related to
else
being a keyword inotp25
due to themaybe_expr
The text was updated successfully, but these errors were encountered: