Skip to content

Always break annotated let-bindings #1372

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

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.

@sjakobi sjakobi force-pushed the sjakobi/1370-pretty-let branch from e3d2a46 to 1c5000a Compare October 2, 2019 08:23

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

@sjakobi sjakobi force-pushed the sjakobi/1370-pretty-let branch from 1c5000a to 33d4366 Compare October 4, 2019 02:28
@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