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

Removed whitespaces in macros #737

Closed
JoshuaLampert opened this issue Jun 12, 2023 · 1 comment
Closed

Removed whitespaces in macros #737

JoshuaLampert opened this issue Jun 12, 2023 · 1 comment

Comments

@JoshuaLampert
Copy link

Using the sciml style

@assert 1 == 1
@assert 1 == 1 "error"
@assert (1 == 1) "error"

gets formatted to

@assert 1 == 1
@assert 1==1 "error"
@assert (1==1) "error"

I would expect whitespaces around binary operators. I would also not expect different behavior depending on whether there is an error message or not.

cc @sloede, @ranocha

@JoshuaLampert
Copy link
Author

This is fixed with the v2 release 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant