Skip to content

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

@brandonchinn178

Description

@brandonchinn178

Fourmolu unexpectedly changes

x =
  [1 | _ <- _]
    <> [2]

to

x =
  [1 | _ <- _]
  <> [2]

This only seems to happen with list comprehensions. This occurred when merging Ormolu 0.4.0.0; Ormolu has this correct

#138 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions