haskell / haskell/stylish-haskell

Comments should not be stripped from 'import' statements and language pragmas

Đang mở
#39 13 bình luận 0 reaction 0 người được giao Xem trên GitHub
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á.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.