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

Always break annotated let-bindings #1372

Merged
merged 1 commit into from
Oct 4, 2019
Merged

Conversation

sjakobi
Copy link
Collaborator

@sjakobi sjakobi commented Oct 2, 2019

Fixes #1370.


let {- 0 -} y
{- 1 -} : {- 2 -} Bool
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might look nicer to move the {- 1 -} to the line above. no? IMHO the rest of the line after the variable is the best position for a comment.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I agree

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The handling of line comments is already pretty reasonable though. I might come back to this later.


let {- 0 -} y
{- 1 -} : {- 2 -} Bool
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I agree

@mergify mergify bot merged commit 7538552 into master Oct 4, 2019
@mergify mergify bot deleted the sjakobi/1370-pretty-let branch October 4, 2019 03:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Always break annotated let-bindings
2 participants