haskell / haskell/stylish-haskell
CPP inside import hiding list is thrown away
- Lingua principale
- Haskell
- Stelle
- 1k
- Fork
- 153
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
See https://github.com/ekmett/trifecta/pull/73/commits/90d3ea3d568b41806b36910d7a3f7ba19b48573c#diff-5ce974d71a85ffa9de2bd3160230ad6aL61:
Before:
```haskell
import Control.Lens
hiding ((<|),(|>)
#if MIN_VERSION_lens(4,13,0) && __GLASGOW_HASKELL__ >= 710
,(:<)
#endif
)
```
After applying stylish-haskell:
```haskell
import Control.Lens hiding ((:<), (<|), (|>))
```
Although I'm able to work around this problem, I'd rather have `stylish-haskell` leave it as-is, or refuse to format this file, than throwing away CPPs and thus inadvertedly breaking the build.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.