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

Unnecessary braces with repeated application of do blocks + BlockArguments #735

Closed
amesgen opened this issue Aug 2, 2021 · 0 comments · Fixed by #767
Closed

Unnecessary braces with repeated application of do blocks + BlockArguments #735

amesgen opened this issue Aug 2, 2021 · 0 comments · Fixed by #767
Labels
style Nitpicking and things related to purely visual aspect for formatting.

Comments

@amesgen
Copy link
Member

amesgen commented Aug 2, 2021

Right now,

foo = a do b do c do d

is formatted into

foo = a do b do { c do { d } }

The braces are not necessary, and probably should be removed, such that the first snippet is a fixed point.

@amesgen amesgen added the style Nitpicking and things related to purely visual aspect for formatting. label Aug 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
style Nitpicking and things related to purely visual aspect for formatting.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant