Skip to content

Fix indentation after list comprehension#149

Merged
brandonchinn178 merged 3 commits intomasterfrom
indent-fix
Apr 5, 2022
Merged

Fix indentation after list comprehension#149
brandonchinn178 merged 3 commits intomasterfrom
indent-fix

Conversation

@brandonchinn178
Copy link
Copy Markdown
Collaborator

Fixes #142

Ormolu refactored all this code after 0.4.0.0 was released, so this code will probably go away. But fixes the weirdness for now.

Ref. tweag/ormolu#830

@georgefst
Copy link
Copy Markdown
Collaborator

Looks good. I guess we should have a regression test, especially if it might slip back in when we merge upstream. But happy to delay that until we've decided what we're doing about testing in general.

@brandonchinn178 brandonchinn178 merged commit 50c49b0 into master Apr 5, 2022
@brandonchinn178 brandonchinn178 deleted the indent-fix branch April 5, 2022 21:02
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

Successfully merging this pull request may close these issues.

Regression with 0.5.0.0: Fix indentation after a list comprehension with infix operator

2 participants