haskell / haskell/stylish-haskell
Some `records` configs cause variant types to not line up
Open
bug
- Dominant language
- Haskell
- Stars
- 1k
- Forks
- 153
- PR merge metrics
- No merged PRs in 30d
Description
With the following config:
```
- records:
equals: "same_line"
first_field: "indent 4"
field_comment: 2
deriving: 4
via: "same_line"
break_enums: true
break_single_constructors: false
curried_context: false
```
This code:
```
data Foo
= Bar Bar
| Baz
| Qux Qux
```
Becomes:
```
data Foo = Bar Bar
| Baz
| Qux Qux
```
This is on `stylish-haskell 0.12.1.0`, so I apologize if this has already been fixed.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.