You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Precedence of certain operations is tampered by formatting. #623
The formatter currently removes necessary parentheses around certain expressions. Take the following code for example:
return (-X) ^Y
...is formatted to:
return-X^Y
These expressions are NOT the same and this will lead to very obscure issues (-X ^ Y being parsed as -(X ^ Y) and not (-X) ^ Y seems to be not commonly known and will cause issues especially for beginners.
Activity
JohnnyMorganz commentedon Nov 28, 2022
Definitely a major bug, thanks for the report. Will look to fix this.