haskell / haskell/stylish-haskell
module_header comment in export list incorrectly placed
Open
- Dominant language
- Haskell
- Stars
- 1k
- Forks
- 153
- PR merge metrics
- No merged PRs in 30d
Description
If the exported element has a comment assigned to it (placed on the same line), after formatting the comment is placed one line below the exported element
## Example:
*Before:*
```
module Ouroboros.Consensus.ByronSpec.Ledger.Block (
ByronSpecBlock(..)
, ByronSpecHeader -- type alias
, Header(..)
, BlockConfig(..)
```
*After:*
```
module Ouroboros.Consensus.ByronSpec.Ledger.Block (
ByronSpecBlock (..)
, ByronSpecHeader
-- type alias
, BlockConfig (..)
) where
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.