haskell / haskell/stylish-haskell
Inline comment to a record constructor leads to non idempotent behavior
Open
- Dominant language
- Haskell
- Stars
- 1k
- Forks
- 153
- PR merge metrics
- No merged PRs in 30d
Description
Initial formatting
```hs
data Foo
= Foo { foo :: Int } -- ^ foo
| Bar
```
after the first run
```hs
data Foo
= Foo
{ foo :: Int
} -- ^ foo
| Bar
```
after the second run
```hs
data Foo
= Foo
{ foo :: Int
}
-- ^ foo
| Bar
```
It was discovered by me at the same time as #425, but I think that this is another issue
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.