haskell / haskell/stylish-haskell
Comments should not be stripped from 'import' statements and language pragmas
Đang mở
bug
lossy
- Ngôn ngữ chính
- Haskell
- Star
- 1k
- Fork
- 153
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Consider:
``` haskell
module Foo where
import Data.Monoid -- from base
import Data.List -- from base
```
And then:
```
$ stylish-haskell /tmp/Foo.hs
module Foo where
import Data.List
import Data.Monoid
$
```
The comments shouldn't be stripped from the end, ideally. At the very least this is inconsistent with the default behavior which will preserve comments in most other positions.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.